File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 export PATH=$HOME/miniconda3/bin:$PATH
5050 buildscripts/incremental/test.sh
5151 displayName: 'Test'
52-
53- - task : PublishCodeCoverageResults@2
54- condition : eq(variables['RUN_COVERAGE'], 'yes')
55- inputs :
56- codeCoverageTool : Cobertura
57- summaryFileLocation : ' $(System.DefaultWorkingDirectory)/**/cov.xml'
58-
59- - task : PublishTestResults@2
60- condition : succeededOrFailed()
61- displayName : Publish Test Results
62- inputs :
63- testResultsFiles : ' junit_numba_*.xml'
64- mergeTestResults : true
Original file line number Diff line number Diff line change 5858 call activate %CONDA_ENV%
5959 set NUMBA_ENABLE_CUDASIM=1
6060 echo "Running shard of discovered tests: %TEST_START_INDEX%:%TEST_COUNT%"
61- python runtests.py -m 2 -b -j "%TEST_START_INDEX%:%TEST_COUNT%" --exclude-tags='long_running' --junit -- numba.tests
61+ python runtests.py -m 2 -b -j "%TEST_START_INDEX%:%TEST_COUNT%" --exclude-tags='long_running' -- numba.tests
6262 displayName: 'Test shard of test files'
63-
64- - task : PublishTestResults@2
65- condition : succeededOrFailed()
66- displayName : Publish Test Results
67- inputs :
68- testResultsFiles : ' junit_numba_*.xml'
69- mergeTestResults : true
Original file line number Diff line number Diff line change @@ -134,19 +134,16 @@ if [ "$RUN_COVERAGE" == "yes" ]; then
134134 echo " INFO: Running with coverage"
135135 export PYTHONPATH=.
136136 coverage erase
137- $SEGVCATCH coverage run runtests.py -b -j " $TEST_START_INDEX :$TEST_COUNT " --exclude-tags=' long_running' -m $TEST_NPROCS --junit -- numba.tests
138- echo " INFO: Post-process coverage"
139- coverage combine
140- coverage xml -o cov.xml
137+ $SEGVCATCH coverage run runtests.py -b -j " $TEST_START_INDEX :$TEST_COUNT " --exclude-tags=' long_running' -m $TEST_NPROCS -- numba.tests
141138elif [ " $RUN_TYPEGUARD " == " yes" ]; then
142139 echo " INFO: Running with typeguard"
143- NUMBA_USE_TYPEGUARD=1 NUMBA_ENABLE_CUDASIM=1 PYTHONWARNINGS=" ignore:::typeguard" $SEGVCATCH python runtests.py -b -j " $TEST_START_INDEX :$TEST_COUNT " --exclude-tags=' long_running' -m $TEST_NPROCS --junit -- numba.tests
140+ NUMBA_USE_TYPEGUARD=1 NUMBA_ENABLE_CUDASIM=1 PYTHONWARNINGS=" ignore:::typeguard" $SEGVCATCH python runtests.py -b -j " $TEST_START_INDEX :$TEST_COUNT " --exclude-tags=' long_running' -m $TEST_NPROCS -- numba.tests
144141else
145- NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -j " $TEST_START_INDEX :$TEST_COUNT " --exclude-tags=' long_running' -m $TEST_NPROCS --junit -- numba.tests
142+ NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -j " $TEST_START_INDEX :$TEST_COUNT " --exclude-tags=' long_running' -m $TEST_NPROCS -- numba.tests
146143fi
147144
148145# Now run with RVSDG enabled for a subset of tests
149146if [[ " $TEST_RVSDG " == " yes" ]]; then
150147 echo " Running RVSDG tests..."
151- NUMBA_USE_RVSDG_FRONTEND=1 NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -v -m $TEST_NPROCS --junit -- numba.tests.test_usecases
148+ NUMBA_USE_RVSDG_FRONTEND=1 NUMBA_CAPTURED_ERRORS=new_style NUMBA_ENABLE_CUDASIM=1 $SEGVCATCH python -m numba.runtests -b -v -m $TEST_NPROCS -- numba.tests.test_usecases
152149fi
Original file line number Diff line number Diff line change @@ -214,9 +214,6 @@ instead. For example::
214214 $ NUMBA_USE_TYPEGUARD=1 python runtests.py
215215
216216
217- See also: :ref: `Debugging the Test Suite <developer-testsuite >`
218-
219-
220217Running coverage
221218''''''''''''''''
222219
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ Developer Manual
2828 literal.rst
2929 llvm_timings.rst
3030 debugging.rst
31- testsuite.rst
3231 event_api.rst
3332 target_extension.rst
3433 bytecode.rst
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments