Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4bf9c20

Browse files
committed
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.
1 parent 75e0058 commit 4bf9c20

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

PCbuild/rt.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@
44
@set _exe=python
55
@if "%1" =="-d" set _exe=python_d
66
@if "%1" =="-d" shift
7+
@del ..\Lib\*.pyc
8+
@del ..\Lib\*.pyo
9+
@del ..\Lib\test\*.pyc
10+
@del ..\Lib\test\*.pyo
711
%_exe% ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
812
@set _exe=

0 commit comments

Comments
 (0)