Zachary Ware | e74fe18 | 2015-09-03 23:43:37 -0500 | [diff] [blame] | 1 | @echo off
|
| 2 | rem Used by the buildbot "test" step.
|
| 3 | setlocal
|
Zachary Ware | 6250df8 | 2015-06-09 23:16:52 -0500 | [diff] [blame] | 4 |
|
Zachary Ware | e74fe18 | 2015-09-03 23:43:37 -0500 | [diff] [blame] | 5 | set here=%~dp0
|
Zachary Ware | d07b66b | 2016-09-10 08:55:15 -0500 | [diff] [blame] | 6 | set rt_opts=-q -d
|
Victor Stinner | 6d81a21 | 2016-05-20 13:15:55 +0200 | [diff] [blame] | 7 | set regrtest_args=-j1
|
Zachary Ware | 6250df8 | 2015-06-09 23:16:52 -0500 | [diff] [blame] | 8 |
|
| 9 | :CheckOpts
|
Zachary Ware | e74fe18 | 2015-09-03 23:43:37 -0500 | [diff] [blame] | 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
|
Zachary Ware | 6250df8 | 2015-06-09 23:16:52 -0500 | [diff] [blame] | 17 |
|
Zachary Ware | e74fe18 | 2015-09-03 23:43:37 -0500 | [diff] [blame] | 18 | echo on
|
Victor Stinner | 2f462a6 | 2016-09-12 13:04:17 +0200 | [diff] [blame] | 19 | call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 %regrtest_args%
|