summaryrefslogtreecommitdiffstats
path: root/Tools/buildbot/test.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/buildbot/test.bat')
-rw-r--r--Tools/buildbot/test.bat14
1 files changed, 12 insertions, 2 deletions
diff --git a/Tools/buildbot/test.bat b/Tools/buildbot/test.bat
index 995f012..154dfa5 100644
--- a/Tools/buildbot/test.bat
+++ b/Tools/buildbot/test.bat
@@ -1,5 +1,15 @@
@rem Used by the buildbot "test" step.
+@setlocal
-setlocal
+@set here=%~dp0
+@set rt_opts=-q -d
-call "%~dp0..\..\PCbuild\rt.bat" -d -q -uall -rwW -n --timeout=3600 %*
+: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
+
+call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW -n --timeout=3600 %1 %2 %3 %4 %5 %6 %7 %8 %9