diff options
| author | Patrick Jenkins <pjenkins@apple.com> | 2006-07-07 17:31:38 +0000 |
|---|---|---|
| committer | Patrick Jenkins <pjenkins@apple.com> | 2006-07-07 17:31:38 +0000 |
| commit | 5053e153e3d251e03915dcd69523d9b6c70424e6 (patch) | |
| tree | 946f9d95f9925c15e9cdd49575b088ab81202263 /llvm | |
| parent | a75df5e22c08fa28274e29610958952f84c3447b (diff) | |
| download | bcm5719-llvm-5053e153e3d251e03915dcd69523d9b6c70424e6.tar.gz bcm5719-llvm-5053e153e3d251e03915dcd69523d9b6c70424e6.zip | |
Added the -noremoveresults option which will not remove the $WebDir from the nightly test runs.
llvm-svn: 29056
Diffstat (limited to 'llvm')
| -rwxr-xr-x | llvm/utils/NewNightlyTest.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/NewNightlyTest.pl b/llvm/utils/NewNightlyTest.pl index 8e5dfc45b57..83d9e8cd72f 100755 --- a/llvm/utils/NewNightlyTest.pl +++ b/llvm/utils/NewNightlyTest.pl @@ -20,6 +20,7 @@ use Socket; # -nocheckout Do not create, checkout, update, or configure # the source tree. # -noremove Do not remove the BUILDDIR after it has been built. +# -noremoveresults Do not remove the WEBDIR after it has been built. # -nobuild Do not build llvm. If tests are enabled perform them # on the llvm build specified in the build directory # -notest Do not even attempt to run the test programs. Implies @@ -119,6 +120,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) { if (/^-nocheckout$/) { $NOCHECKOUT = 1; next; } if (/^-nocvsstats$/) { $NOCVSSTATS = 1; next; } if (/^-noremove$/) { $NOREMOVE = 1; next; } + if (/^-noremoveresults$/) { $NOREMOVERESULTS = 1; next; } if (/^-notest$/) { $NOTEST = 1; $NORUNNINGTESTS = 1; next; } if (/^-norunningtests$/) { $NORUNNINGTESTS = 1; next; } if (/^-parallel$/) { $MAKEOPTS = "$MAKEOPTS -j2 -l3.0"; next; } @@ -1020,5 +1022,6 @@ else{ # ############################################################## system ( "$NICE rm -rf $BuildDir") if (!$NOCHECKOUT and !$NOREMOVE); +system ( "$NICE rm -rf $WebDir") if (!$NOCHECKOUT and !$NOREMOVE and !NOREMOVERESULTS); |

