summaryrefslogtreecommitdiffstats
path: root/PCbuild/rt.bat
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-09-04 04:43:37 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-09-04 04:43:37 (GMT)
commite74fe18ebb625224e0bd8f6885c3e65ac3bb29fa (patch)
tree36d5c7847deeb25d10b2f5efbec22effde3df806 /PCbuild/rt.bat
parent84368127edf1a166c5940332f79265891960aab7 (diff)
downloadcpython-e74fe18ebb625224e0bd8f6885c3e65ac3bb29fa.zip
cpython-e74fe18ebb625224e0bd8f6885c3e65ac3bb29fa.tar.gz
cpython-e74fe18ebb625224e0bd8f6885c3e65ac3bb29fa.tar.bz2
Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 4 tests by name through Tools\buildbot\test.bat
Diffstat (limited to 'PCbuild/rt.bat')
-rw-r--r--PCbuild/rt.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index 039c810..2d93b80 100644
--- a/PCbuild/rt.bat
+++ b/PCbuild/rt.bat
@@ -32,15 +32,17 @@ set prefix=%pcbuild%win32\
set suffix=
set qmode=
set dashO=
+set regrtestargs=
:CheckOpts
if "%1"=="-O" (set dashO=-O) & shift & goto CheckOpts
if "%1"=="-q" (set qmode=yes) & shift & goto CheckOpts
if "%1"=="-d" (set suffix=_d) & shift & goto CheckOpts
if "%1"=="-x64" (set prefix=%pcbuild%amd64\) & shift & goto CheckOpts
+if NOT "%1"=="" (set regrtestargs=%regrtestargs% %1) & shift & goto CheckOpts
set exe=%prefix%python%suffix%.exe
-set cmd="%exe%" %dashO% -Wd -E -bb "%pcbuild%..\lib\test\regrtest.py" %1 %2 %3 %4 %5 %6 %7 %8 %9
+set cmd="%exe%" %dashO% -Wd -E -bb "%pcbuild%..\lib\test\regrtest.py" %regrtestargs%
if defined qmode goto Qmode
echo Deleting .pyc/.pyo files ...