[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl
Patrick Jenkins
pjenkins at apple.com
Thu Jul 20 15:28:56 PDT 2006
Changes in directory llvm/utils:
NewNightlyTest.pl updated: 1.17 -> 1.18
---
Log message:
We now fail and print an error message if a nightly tester does not specify a nickname on the command line
---
Diffs of the changes: (+8 -0)
NewNightlyTest.pl | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.17 llvm/utils/NewNightlyTest.pl:1.18
--- llvm/utils/NewNightlyTest.pl:1.17 Thu Jul 20 11:54:43 2006
+++ llvm/utils/NewNightlyTest.pl Thu Jul 20 17:28:43 2006
@@ -139,6 +139,7 @@
$CONFIGUREARGS .= "--with-externals=$ARGV[0]"; shift; next;
}
if (/^-nickname$/) { $nickname = "$ARGV[0]"; shift; next; }
+ else{ $nickname=""; }
if (/^-gccpath/) { $CONFIGUREARGS .=
" CC=$ARGV[0]/gcc CXX=$ARGV[0]/g++";
$GCCPATH=$ARGV[0];
@@ -186,6 +187,10 @@
$WebDir = $ARGV[2];
}
+if($nickname eq ""){
+ die ("Please invoke NewNightlyTest.pl with command line option \"-nickname <nickname>\"");
+}
+
##############################################################
#
#define the file names we'll use
@@ -461,6 +466,9 @@
if (!$NOCHECKOUT) {
if (-d $BuildDir) {
if (!$NOREMOVE) {
+ if ( $VERBOSE ){
+ print "Build directory exists! Removing it\n";
+ }
system "rm -rf $BuildDir";
} else {
die "CVS checkout directory $BuildDir already exists!";
More information about the llvm-commits
mailing list