blob: 40ffc7efdd2d6c6efb68e9d228a1a9939b2d3677 [file] [log] [blame]
Zachary Ware6b6e6872017-06-10 14:58:42 -05001@echo off
Victor Stinner2d98c532017-06-16 14:38:34 +02002rem Used by the buildbot "test" step.
Zachary Ware6b6e6872017-06-10 14:58:42 -05003setlocal
4
5set here=%~dp0
6set rt_opts=-q -d
7set regrtest_args=-j1
8
9:CheckOpts
10if "%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
17
18echo on
Victor Stinner00561182017-06-30 16:44:08 +020019call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 --fail-env-changed %regrtest_args%