From: Guido van Rossum Date: Fri, 19 Jan 2001 21:00:04 +0000 (+0000) Subject: Delete the bytecode from the library and tests before running the X-Git-Tag: v2.1a1~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4bf9c20e18e53f57d2ec550b971da6cc7b1d2803;p=thirdparty%2FPython%2Fcpython.git Delete the bytecode from the library and tests before running the tests for the first time -- like the Unix Makefile does. This avoids not catching problems in the bytecode generator and/or bytecode marshalling. --- diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat index 142349bed763..dd048cd98cf3 100755 --- a/PCbuild/rt.bat +++ b/PCbuild/rt.bat @@ -4,5 +4,9 @@ @set _exe=python @if "%1" =="-d" set _exe=python_d @if "%1" =="-d" shift +@del ..\Lib\*.pyc +@del ..\Lib\*.pyo +@del ..\Lib\test\*.pyc +@del ..\Lib\test\*.pyo %_exe% ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9 @set _exe=