aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-09-15 17:03:36 +0000
committerJim Laskey <jlaskey@mac.com>2006-09-15 17:03:36 +0000
commit6d8a1b7c553d7e36048e263ce7c39d747299ef7b (patch)
tree02aecbf4a239730aaea78bc155b621382ee5147a
parent36cc500f3b30db50e7c660fdd819f367ad437eb0 (diff)
Switching to NewNightlyTest.php
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30394 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xutils/NewNightlyTest.pl12
1 files changed, 8 insertions, 4 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index c3b51d5e8d..5e93ddd486 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -67,7 +67,7 @@ use Socket;
# 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 @@ $NOTEST=0;
$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 @@ if (!$NOCHECKOUT) {
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" );