Zachary Ware | 6b6e687 | 2017-06-10 14:58:42 -0500 | [diff] [blame] | 1 | @echo off |
Victor Stinner | 2d98c53 | 2017-06-16 14:38:34 +0200 | [diff] [blame] | 2 | rem Used by the buildbot "test" step. |
Zachary Ware | 6b6e687 | 2017-06-10 14:58:42 -0500 | [diff] [blame] | 3 | setlocal |
| 4 | |
| 5 | set here=%~dp0 |
| 6 | set rt_opts=-q -d |
| 7 | set regrtest_args=-j1 |
| 8 | |
| 9 | :CheckOpts |
| 10 | if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts |
| 11 | if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts |
| 12 | if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts |
| 13 | if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts |
| 14 | if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts |
| 15 | if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts |
| 16 | if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts |
| 17 | |
| 18 | echo on |
Victor Stinner | 0056118 | 2017-06-30 16:44:08 +0200 | [diff] [blame] | 19 | call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 --fail-env-changed %regrtest_args% |