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.
This commit is contained in:
Guido van Rossum 2001-01-19 21:00:04 +00:00
parent 75e0058cde
commit 4bf9c20e18
1 changed files with 4 additions and 0 deletions

View File

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