summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-20 01:53:43 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-20 01:53:43 (GMT)
commit2ad1a444e56ae2c1eafeb9c9f7384170987cd947 (patch)
treeae67783447763f0e3a4c8c2c4da60547bc418ab0 /PCbuild
parent9eca23559d74fce99bc094aacbb0bf1f7bbe8f78 (diff)
downloadcpython-2ad1a444e56ae2c1eafeb9c9f7384170987cd947.zip
cpython-2ad1a444e56ae2c1eafeb9c9f7384170987cd947.tar.gz
cpython-2ad1a444e56ae2c1eafeb9c9f7384170987cd947.tar.bz2
When running the tests twice, stuck a "Press any key to continue ..." pause
between passes: Win9x DOS boxes are limited to 50 lines max, and the result of the first pass scrolls off irretrievably otherwise. Also simplified the goto-laden logic a bit.
Diffstat (limited to 'PCbuild')
-rwxr-xr-xPCbuild/rt.bat11
1 files changed, 5 insertions, 6 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index 7773103..e8e5a75 100755
--- a/PCbuild/rt.bat
+++ b/PCbuild/rt.bat
@@ -11,20 +11,19 @@
@if "%1"=="-q" shift
@if "%1"=="-d" set _exe=python_d
@if "%1"=="-d" shift
-@if "%_qmode%"=="yes" goto LeavePyc
+@if "%_qmode%"=="yes" goto Qmode
@if "%1"=="-q" set _qmode=yes
@if "%1"=="-q" shift
-@if "%_qmode%"=="yes" goto LeavePyc
+@if "%_qmode%"=="yes" goto Qmode
@echo Deleting .pyc/.pyo files ...
@del ..\Lib\*.pyc
@del ..\Lib\*.pyo
@del ..\Lib\test\*.pyc
@del ..\Lib\test\*.pyo
-:LeavePyc
%_exe% ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
-@if "%_qmode%"=="yes" goto Done
-@echo Running again without deleting .pyc/.pyo first:
+@echo About to run again without deleting .pyc/.pyo first:
+@pause
+:Qmode
%_exe% ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
-:Done
@set _exe=
@set _qmode=