diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-26 22:08:21 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-26 22:08:21 +0100 |
commit | 2c5a4c729d284024df848b9568ea8d563f344abb (patch) | |
tree | 784975540ffd1bef1de268834f8fec3dc3eeaa1f /Tools | |
parent | be43424539bbcae6613a7799e6b4500cedfa545b (diff) | |
download | cpython-2c5a4c729d284024df848b9568ea8d563f344abb.tar.gz |
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.bat | 5 | ||||
-rw-r--r-- | Tools/buildbot/clean.bat | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Tools/buildbot/clean-amd64.bat b/Tools/buildbot/clean-amd64.bat index 9fb35e9453..715805a7c1 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 ec71804da0..5c8f33ecca 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 .. |