summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-19 21:00:04 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-19 21:00:04 (GMT)
commit4bf9c20e18e53f57d2ec550b971da6cc7b1d2803 (patch)
treefcf09efd6c564a45ef0bca68696d0024688c1bc1
parent75e0058cdee9ccc48e63e87171defa33e3c6ea19 (diff)
downloadcpython-4bf9c20e18e53f57d2ec550b971da6cc7b1d2803.zip
cpython-4bf9c20e18e53f57d2ec550b971da6cc7b1d2803.tar.gz
cpython-4bf9c20e18e53f57d2ec550b971da6cc7b1d2803.tar.bz2
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.
-rwxr-xr-xPCbuild/rt.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index 142349b..dd048cd 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=