]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Delete the bytecode from the library and tests before running the
authorGuido van Rossum <guido@python.org>
Fri, 19 Jan 2001 21:00:04 +0000 (21:00 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 19 Jan 2001 21:00:04 +0000 (21:00 +0000)
tests for the first time -- like the Unix Makefile does.  This
avoids not catching problems in the bytecode generator and/or bytecode
marshalling.

PCbuild/rt.bat

index 142349bed76330764cede47208594de4b92e4ced..dd048cd98cf37c3ca7047b44e49049fca1a50f40 100755 (executable)
@@ -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=