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

Commit

Permalink
Run tests in separate processes (#833)
Browse files Browse the repository at this point in the history
* Run tests in separate processes

* Take tests list from sdc/tests/__init__.py
  • Loading branch information
PokhodenkoSA authored May 12, 2020
1 parent 0e155d4 commit 296ff8b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 3 deletions.
29 changes: 27 additions & 2 deletions buildscripts/sdc-conda-recipe/run_test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,35 @@ if errorlevel 1 exit 1

@rem TODO investigate root cause of NumbaPerformanceWarning
@rem http://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics
python -W ignore -u -m sdc.runtests -v
python -W ignore -u -m sdc.runtests -v sdc.tests.test_basic
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_series
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_dataframe
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_hiframes
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_date
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_strings
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_groupby
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_join
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_rolling
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_ml
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_io
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_hpat_jit
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_sdc_numpy
if errorlevel 1 exit 1
python -W ignore -u -m sdc.runtests -v sdc.tests.test_prange_utils
if errorlevel 1 exit 1

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

15 changes: 14 additions & 1 deletion buildscripts/sdc-conda-recipe/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,17 @@ python -m sdc.tests.gen_test_data

# TODO investigate root cause of NumbaPerformanceWarning
# http://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics
python -W ignore -u -m sdc.runtests -v
python -W ignore -u -m sdc.runtests -v sdc.tests.test_basic
python -W ignore -u -m sdc.runtests -v sdc.tests.test_series
python -W ignore -u -m sdc.runtests -v sdc.tests.test_dataframe
python -W ignore -u -m sdc.runtests -v sdc.tests.test_hiframes
python -W ignore -u -m sdc.runtests -v sdc.tests.test_date
python -W ignore -u -m sdc.runtests -v sdc.tests.test_strings
python -W ignore -u -m sdc.runtests -v sdc.tests.test_groupby
python -W ignore -u -m sdc.runtests -v sdc.tests.test_join
python -W ignore -u -m sdc.runtests -v sdc.tests.test_rolling
python -W ignore -u -m sdc.runtests -v sdc.tests.test_ml
python -W ignore -u -m sdc.runtests -v sdc.tests.test_io
python -W ignore -u -m sdc.runtests -v sdc.tests.test_hpat_jit
python -W ignore -u -m sdc.runtests -v sdc.tests.test_sdc_numpy
python -W ignore -u -m sdc.runtests -v sdc.tests.test_prange_utils

0 comments on commit 296ff8b

Please # to comment.