diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-13 22:17:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-13 22:17:49 +0000 |
commit | 4f57d77e40078220bb2049789c8cee63399be046 (patch) | |
tree | 73168464d8cb462829e5fd3a6f0ceaa809486991 /llvm/utils/NewNightlyTest.pl | |
parent | f8542ba3a9ed9079bb33ee9b6aaf748c06d87b09 (diff) | |
download | bcm5719-llvm-4f57d77e40078220bb2049789c8cee63399be046.tar.gz bcm5719-llvm-4f57d77e40078220bb2049789c8cee63399be046.zip |
NewNightlyTest.pl - Add -noremoveatend option.
- Like -noremove, except the build directory is still purged prior to building
but isn't removed at the end of the test run (so the build products can be
examined if need be).
llvm-svn: 75527
Diffstat (limited to 'llvm/utils/NewNightlyTest.pl')
-rwxr-xr-x | llvm/utils/NewNightlyTest.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/NewNightlyTest.pl b/llvm/utils/NewNightlyTest.pl index b4906504936..09e6e30c6b2 100755 --- a/llvm/utils/NewNightlyTest.pl +++ b/llvm/utils/NewNightlyTest.pl @@ -148,6 +148,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) { if (/^-nocheckout$/) { $NOCHECKOUT = 1; next; } if (/^-nocvsstats$/) { $NOCVSSTATS = 1; next; } if (/^-noremove$/) { $NOREMOVE = 1; next; } + if (/^-noremoveatend$/) { $NOREMOVEATEND = 1; next; } if (/^-noremoveresults$/){ $NOREMOVERESULTS = 1; next; } if (/^-notest$/) { $NOTEST = 1; next; } if (/^-norunningtests$/) { next; } # Backward compatibility, ignored. @@ -1147,6 +1148,6 @@ if ($SUBMIT || !($SUBMITAUX eq "")) { # ############################################################## system ( "$NICE rm -rf $BuildDir") - if (!$NOCHECKOUT and !$NOREMOVE); + if (!$NOCHECKOUT and !$NOREMOVE and !$NOREMOVEATEND); system ( "$NICE rm -rf $WebDir") if (!$NOCHECKOUT and !$NOREMOVE and !$NOREMOVERESULTS); |