blob: 5972d5e0880817a5e04abec3c90ddf6c32495a05 [file] [log] [blame]
Zachary Waree74fe182015-09-03 23:43:37 -05001@echo off
2rem Used by the buildbot "test" step.
3setlocal
Zachary Ware6250df82015-06-09 23:16:52 -05004
Zachary Waree74fe182015-09-03 23:43:37 -05005set here=%~dp0
6set rt_opts=-q -d
Victor Stinner6d81a212016-05-20 13:15:55 +02007set regrtest_args=-j1
Zachary Ware6250df82015-06-09 23:16:52 -05008
9:CheckOpts
Zachary Waree74fe182015-09-03 23:43:37 -050010if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
11if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
12if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
13if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
14if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts
15if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
16if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
Zachary Ware6250df82015-06-09 23:16:52 -050017
Zachary Waree74fe182015-09-03 23:43:37 -050018echo on
Victor Stinner96f6e7a2016-03-23 12:38:01 +010019call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --timeout=900 %regrtest_args%