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

Skip to content

Commit 9eea9d3

Browse files
committed
In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)
1 parent c13d454 commit 9eea9d3

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Tools/buildbot/clean-amd64.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
@rem Used by the buildbot "clean" step.
22
call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
3-
cd PCbuild
43
@echo Deleting .pyc/.pyo files ...
54
del /s Lib\*.pyc Lib\*.pyo
5+
@echo Deleting test leftovers ...
6+
rmdir /s /q build
7+
cd PCbuild
68
vcbuild /clean pcbuild.sln "Release|x64"
79
vcbuild /clean pcbuild.sln "Debug|x64"
10+
cd ..

Tools/buildbot/clean.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
call "%VS90COMNTOOLS%vsvars32.bat"
33
@echo Deleting .pyc/.pyo files ...
44
del /s Lib\*.pyc Lib\*.pyo
5+
@echo Deleting test leftovers ...
6+
rmdir /s /q build
57
cd PCbuild
68
vcbuild /clean pcbuild.sln "Release|Win32"
79
vcbuild /clean pcbuild.sln "Debug|Win32"
10+
cd ..

0 commit comments

Comments
 (0)