[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl

Patrick Jenkins pjenkins at apple.com
Fri Jul 7 10:31:51 PDT 2006



Changes in directory llvm/utils:

NewNightlyTest.pl updated: 1.3 -> 1.4
---
Log message:

Added the -noremoveresults option which will not remove the $WebDir from the nightly test runs.


---
Diffs of the changes:  (+3 -0)

 NewNightlyTest.pl |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.3 llvm/utils/NewNightlyTest.pl:1.4
--- llvm/utils/NewNightlyTest.pl:1.3	Fri Jul  7 12:08:02 2006
+++ llvm/utils/NewNightlyTest.pl	Fri Jul  7 12:31:38 2006
@@ -20,6 +20,7 @@
 #  -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 @@
     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 @@
 #
 ##############################################################
 system ( "$NICE rm -rf $BuildDir") if (!$NOCHECKOUT and !$NOREMOVE);
+system ( "$NICE rm -rf $WebDir") if (!$NOCHECKOUT and !$NOREMOVE and !NOREMOVERESULTS);
 
 






More information about the llvm-commits mailing list