2015-09-04 01:43:37 -03:00
|
|
|
@echo off
|
|
|
|
rem Used by the buildbot "test" step.
|
|
|
|
setlocal
|
2015-06-10 01:16:52 -03:00
|
|
|
|
2015-09-04 01:43:37 -03:00
|
|
|
set here=%~dp0
|
|
|
|
set rt_opts=-q -d
|
|
|
|
set regrtest_args=
|
2015-06-10 01:16:52 -03:00
|
|
|
|
|
|
|
:CheckOpts
|
2015-09-04 01:43:37 -03:00
|
|
|
if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
|
|
|
|
if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
|
|
|
|
if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
|
|
|
|
if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
|
|
|
|
if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts
|
|
|
|
if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
|
|
|
|
if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
|
2015-06-10 01:16:52 -03:00
|
|
|
|
2015-09-04 01:43:37 -03:00
|
|
|
echo on
|
2015-10-08 13:06:17 -03:00
|
|
|
call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --timeout=3600 %regrtest_args%
|