summaryrefslogtreecommitdiffstats
path: root/Tools/buildbot/test.bat
blob: b08dbe9438f3ebc3281ca0c6ce493ccc469cd7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
rem Used by the buildbot "test" step.

setlocal

set here=%~dp0
set rt_opts=-q -d
set regrtest_args=-j1

:CheckOpts
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



echo on

rem Start temporary diagnostic code

set

echo All zip files

dir /s/b "%here%..\..\PCbuild\*"
echo.
rem End temporary diagnostic code


call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=900 %regrtest_args%