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.
This commit is contained in:
Tim Peters 2001-01-20 01:53:43 +00:00
parent 9eca23559d
commit 2ad1a444e5
1 changed files with 5 additions and 6 deletions

View File

@ -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=