Skip to content

Commit b1595a9

Browse files
committed
Revert "Merge pull request numba#9436 from sklam/misc/tests_timing_and_xml"
This reverts commit 42616dc, reversing changes made to a7fc4b5.
1 parent a344e8f commit b1595a9

8 files changed

Lines changed: 40 additions & 331 deletions

File tree

‎buildscripts/azure/azure-linux-macos.yml‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,3 @@ jobs:
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

‎buildscripts/azure/azure-windows.yml‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,5 @@ jobs:
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

‎buildscripts/incremental/test.sh‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff 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
141138
elif [ "$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
144141
else
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
146143
fi
147144

148145
# Now run with RVSDG enabled for a subset of tests
149146
if [[ "$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
152149
fi

‎docs/source/developer/contributing.rst‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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-
220217
Running coverage
221218
''''''''''''''''
222219

‎docs/source/developer/index.rst‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

‎docs/source/developer/testsuite.rst‎

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)