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 | 0c39e3839a7d7e0dbd49b6b2d3e1bdc735b2b3aa (patch) | |
tree | 78ac2a8e22a88a7c8f4d3dbf32acc220703fae0c /utils | |
parent | 62c5c5099c1ba41985a7fc82692e4a5af7a9d93c (diff) | |
download | external_llvm-0c39e3839a7d7e0dbd49b6b2d3e1bdc735b2b3aa.zip external_llvm-0c39e3839a7d7e0dbd49b6b2d3e1bdc735b2b3aa.tar.gz external_llvm-0c39e3839a7d7e0dbd49b6b2d3e1bdc735b2b3aa.tar.bz2 |
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/NewNightlyTest.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index b490650..09e6e30 100755 --- a/utils/NewNightlyTest.pl +++ b/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); |