summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-03-26 21:08:21 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-03-26 21:08:21 (GMT)
commit41347fe011c4cb8725b18f0b0bd4812089f4cae0 (patch)
tree7dc3a0308aacad36d591cd4bd3c92f72961ec390 /Tools
parent5e0062d25a38e5f01e10952827a83975afac9fd8 (diff)
downloadcpython-41347fe011c4cb8725b18f0b0bd4812089f4cae0.zip
cpython-41347fe011c4cb8725b18f0b0bd4812089f4cae0.tar.gz
cpython-41347fe011c4cb8725b18f0b0bd4812089f4cae0.tar.bz2
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)
Diffstat (limited to 'Tools')
-rw-r--r--Tools/buildbot/clean-amd64.bat5
-rw-r--r--Tools/buildbot/clean.bat3
2 files changed, 7 insertions, 1 deletions
diff --git a/Tools/buildbot/clean-amd64.bat b/Tools/buildbot/clean-amd64.bat
index 9fb35e9..715805a 100644
--- a/Tools/buildbot/clean-amd64.bat
+++ b/Tools/buildbot/clean-amd64.bat
@@ -1,7 +1,10 @@
@rem Used by the buildbot "clean" step.
call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
-cd PCbuild
@echo Deleting .pyc/.pyo files ...
del /s Lib\*.pyc Lib\*.pyo
+@echo Deleting test leftovers ...
+rmdir /s /q build
+cd PCbuild
vcbuild /clean pcbuild.sln "Release|x64"
vcbuild /clean pcbuild.sln "Debug|x64"
+cd ..
diff --git a/Tools/buildbot/clean.bat b/Tools/buildbot/clean.bat
index ec71804..5c8f33e 100644
--- a/Tools/buildbot/clean.bat
+++ b/Tools/buildbot/clean.bat
@@ -2,6 +2,9 @@
call "%VS90COMNTOOLS%vsvars32.bat"
@echo Deleting .pyc/.pyo files ...
del /s Lib\*.pyc Lib\*.pyo
+@echo Deleting test leftovers ...
+rmdir /s /q build
cd PCbuild
vcbuild /clean pcbuild.sln "Release|Win32"
vcbuild /clean pcbuild.sln "Debug|Win32"
+cd ..