diff options
Diffstat (limited to 'devscripts/run_tests.bat')
-rw-r--r-- | devscripts/run_tests.bat | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/devscripts/run_tests.bat b/devscripts/run_tests.bat index 190d23918..57b1f4bf4 100644 --- a/devscripts/run_tests.bat +++ b/devscripts/run_tests.bat @@ -1,17 +1,4 @@ -@setlocal @echo off -cd /d %~dp0.. -if ["%~1"]==[""] ( - set "test_set="test"" -) else if ["%~1"]==["core"] ( - set "test_set="-m not download"" -) else if ["%~1"]==["download"] ( - set "test_set="-m "download"" -) else ( - echo.Invalid test type "%~1". Use "core" ^| "download" - exit /b 1 -) - -set PYTHONWARNINGS=error -pytest %test_set% +>&2 echo run_tests.bat is deprecated. Please use `devscripts/run_tests.py` instead +python %~dp0run_tests.py %~1 |