]>
Commit | Line | Data |
---|---|---|
060ac762 | 1 | @setlocal |
c76eb41b | 2 | @echo off |
060ac762 | 3 | cd /d %~dp0.. |
c76eb41b | 4 | |
060ac762 | 5 | if ["%~1"]==[""] ( |
6 | set "test_set=" | |
7 | ) else if ["%~1"]==["core"] ( | |
8 | set "test_set=-k "not download"" | |
9 | ) else if ["%~1"]==["download"] ( | |
10 | set "test_set=-k download" | |
c76eb41b | 11 | ) else ( |
060ac762 | 12 | echo.Invalid test type "%~1". Use "core" ^| "download" |
c76eb41b | 13 | exit /b 1 |
14 | ) | |
15 | ||
060ac762 | 16 | pytest %test_set% |