blob: c5a9b00ce8c4aa01cb334bdc72e23df386fcfcc4 [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
Victor Stinnere103aac2016-09-10 04:07:38 -04006set rt_opts=-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 Stinnerf7457002016-08-17 11:27:40 +020019call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=900 %regrtest_args%