| 1 |
@echo off |
| 2 |
rem Used by the buildbot "test" step. |
| 3 |
setlocal |
| 4 |
|
| 5 |
set here=%~dp0 |
| 6 |
set rt_opts=-q -d |
| 7 |
set regrtest_args= |
| 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 |
| 19 |
call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest %regrtest_args% |