Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 296ff8b

Browse files
authored
Run tests in separate processes (#833)
* Run tests in separate processes * Take tests list from sdc/tests/__init__.py
1 parent 0e155d4 commit 296ff8b

File tree

2 files changed

+41
-3
lines changed

2 files changed

+41
-3
lines changed

buildscripts/sdc-conda-recipe/run_test.bat

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,35 @@ if errorlevel 1 exit 1
99

1010
@rem TODO investigate root cause of NumbaPerformanceWarning
1111
@rem http://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics
12-
python -W ignore -u -m sdc.runtests -v
12+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_basic
13+
if errorlevel 1 exit 1
14+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_series
15+
if errorlevel 1 exit 1
16+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_dataframe
17+
if errorlevel 1 exit 1
18+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_hiframes
19+
if errorlevel 1 exit 1
20+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_date
21+
if errorlevel 1 exit 1
22+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_strings
23+
if errorlevel 1 exit 1
24+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_groupby
25+
if errorlevel 1 exit 1
26+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_join
27+
if errorlevel 1 exit 1
28+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_rolling
29+
if errorlevel 1 exit 1
30+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_ml
31+
if errorlevel 1 exit 1
32+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_io
33+
if errorlevel 1 exit 1
34+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_hpat_jit
35+
if errorlevel 1 exit 1
36+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_sdc_numpy
37+
if errorlevel 1 exit 1
38+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_prange_utils
1339
if errorlevel 1 exit 1
1440

1541
REM Link check for Documentation using Sphinx's in-built linkchecker
1642
REM sphinx-build -b linkcheck -j1 usersource _build/html
1743
REM if errorlevel 1 exit 1
18-

buildscripts/sdc-conda-recipe/run_test.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,17 @@ python -m sdc.tests.gen_test_data
1313

1414
# TODO investigate root cause of NumbaPerformanceWarning
1515
# http://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics
16-
python -W ignore -u -m sdc.runtests -v
16+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_basic
17+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_series
18+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_dataframe
19+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_hiframes
20+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_date
21+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_strings
22+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_groupby
23+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_join
24+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_rolling
25+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_ml
26+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_io
27+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_hpat_jit
28+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_sdc_numpy
29+
python -W ignore -u -m sdc.runtests -v sdc.tests.test_prange_utils

0 commit comments

Comments
 (0)