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

Misha Brukman brukman at cs.uiuc.edu
Thu Aug 14 10:27:01 PDT 2003


Changes in directory llvm/utils:

NightlyTest.pl updated: 1.18 -> 1.19

---
Log message:

* Enable SPEC testing in the `configure' script command line
* Switched from using `m||' to `m##' because VIM mis-highlights `m||'
* Simplified the regex getting the file version number


---
Diffs of the changes:

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.18 llvm/utils/NightlyTest.pl:1.19
--- llvm/utils/NightlyTest.pl:1.18	Wed Aug  6 11:02:50 2003
+++ llvm/utils/NightlyTest.pl	Thu Aug 14 10:26:28 2003
@@ -151,7 +151,7 @@
 # Build the entire tree, saving build messages to the build log
 #
 if (!$NOCHECKOUT) {
-  system "(time -p ./configure --enable-jit --with-objroot=.) > $Prefix-Build-Log.txt 2>&1";
+  system "(time -p ./configure --enable-jit --enable-spec --with-objroot=.) > $Prefix-Build-Log.txt 2>&1";
 
   # Build the entire tree, capturing the output into $Prefix-Build-Log.txt
   system "(time -p gmake $MAKEOPTS) >> $Prefix-Build-Log.txt 2>&1";
@@ -186,7 +186,7 @@
 foreach $Warning (@Warn) {
   if ($Warning =~ m/Entering directory \`([^\`]+)\'/) {
     $CurDir = $1;                 # Keep track of directory warning is in...
-    if ($CurDir =~ m|$BuildDir/llvm/(.*)|) { # Remove buildir prefix if included
+    if ($CurDir =~ m#$BuildDir/llvm/(.*)#) { # Remove buildir prefix if included
       $CurDir = $1;
     }
   } else {
@@ -219,7 +219,7 @@
 # Loop over every record from the CVS history, filling in the hashes.
 foreach $File (@CVSHistory) {
   my ($Type, $Date, $UID, $Rev, $Filename);
-  if ($File =~ /([AMRUGC]) ($DateRE) ([^ ]+) +([0-9\.]+) +([^ ]+) +([^ ]+)/) {
+  if ($File =~ /([AMRUGC]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+) +([^ ]+)/) {
     ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5");
   } elsif ($File =~ /([W]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+)/) {
     ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5");





More information about the llvm-commits mailing list