]> granicus.if.org Git - python/commitdiff
In the Windows clean script for buildbots, also clear the build dir
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 26 Mar 2011 20:15:47 +0000 (21:15 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 26 Mar 2011 20:15:47 +0000 (21:15 +0100)
(so that stale test files, which can be very large, get wiped out)

Tools/buildbot/clean-amd64.bat
Tools/buildbot/clean.bat

index 9fb35e94532741f36e0a1bdbaa107beed544308e..715805a7c11503570dae8bb4e1bf47a0dbdd5e04 100644 (file)
@@ -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 ..
index ec71804da0112d3742a3209848eb3e55bb8ae830..5c8f33eccaacfe9e38d3a09cdd7419caa0afd376 100644 (file)
@@ -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 ..