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

Jim Laskey jlaskey at apple.com
Fri Sep 15 10:03:50 PDT 2006



Changes in directory llvm/utils:

NewNightlyTest.pl updated: 1.58 -> 1.59
---
Log message:

Switching to NewNightlyTest.php

---
Diffs of the changes:  (+8 -4)

 NewNightlyTest.pl |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)


Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.58 llvm/utils/NewNightlyTest.pl:1.59
--- llvm/utils/NewNightlyTest.pl:1.58	Tue Aug 29 13:01:18 2006
+++ llvm/utils/NewNightlyTest.pl	Fri Sep 15 12:03:36 2006
@@ -67,7 +67,7 @@
 #                   webserver
 #  -submit-script   Specifies which script to call on the submit server. If
 #                   this option is not specified it defaults to
-#                   /nightlytest/NightlyTestAccept.cgi. This is basically 
+#                   /nightlytest/NightlyTestAccept.php. This is basically 
 #                   everything after the www.yourserver.org.
 #
 # CVSROOT is the CVS repository from which the tree will be checked out,
@@ -117,7 +117,7 @@
 $NORUNNINGTESTS=0;
 $MAKECMD="make";
 $SUBMITSERVER = "llvm.org";
-$SUBMITSCRIPT = "/nightlytest/NightlyTestAccept.cgi";
+$SUBMITSCRIPT = "/nightlytest/NightlyTestAccept.php";
 
 while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
   shift;
@@ -470,11 +470,15 @@
         print "Build directory exists! Removing it\n";
       }
       system "rm -rf $BuildDir";
+      mkdir $BuildDir or die "Could not create CVS checkout directory $BuildDir!";
     } else {
-       die "CVS checkout directory $BuildDir already exists!";
+      if ( $VERBOSE ) {
+        print "Build directory exists!\n";
+      }
     }
+  } else {
+    mkdir $BuildDir or die "Could not create CVS checkout directory $BuildDir!";
   }
-  mkdir $BuildDir or die "Could not create CVS checkout directory $BuildDir!";
 }
 ChangeDir( $BuildDir, "CVS checkout directory" );
 






More information about the llvm-commits mailing list