From 2ad1a444e56ae2c1eafeb9c9f7384170987cd947 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 20 Jan 2001 01:53:43 +0000 Subject: 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. --- PCbuild/rt.bat | 11 +++++------ 1 file 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= -- cgit v0.12