cpython/PCbuild/rt.bat
Guido van Rossum 4bf9c20e18 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.
2001-01-19 21:00:04 +00:00

13 lines
405 B
Batchfile
Executable File

@rem Run Tests. Run the regression test suite.
@rem Plain "rt" runs Release build, arguments passed on to regrtest.
@rem "rt -d" runs Debug build similarly, after shifting off -d.
@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=