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

Brian Gaeke gaeke at cs.uiuc.edu
Thu Jun 10 02:50:01 PDT 2004


Changes in directory llvm/utils:

NightlyTest.pl updated: 1.52 -> 1.53

---
Log message:

Allow dates with slashes in them in $DateRE.
Don't match on $Filename (which will be unset) if we hit 'UNMATCHABLE:'.


---
Diffs of the changes:  (+2 -1)

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.52 llvm/utils/NightlyTest.pl:1.53
--- llvm/utils/NightlyTest.pl:1.52	Tue Jun  8 03:01:33 2004
+++ llvm/utils/NightlyTest.pl	Thu Jun 10 02:44:28 2004
@@ -430,7 +430,7 @@
 # stuff is stored.
 my (%AddedFiles, %ModifiedFiles, %RemovedFiles, %UsersCommitted, %UsersUpdated);
 
-my $DateRE = "[-:0-9 ]+\\+[0-9]+";
+my $DateRE = '[-/:0-9 ]+\+[0-9]+';
 
 # Loop over every record from the CVS history, filling in the hashes.
 foreach $File (@CVSHistory) {
@@ -443,6 +443,7 @@
     ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, "", "$4/");
   } else {
     print "UNMATCHABLE: $File\n";
+    next;
   }
   # print "$File\nTy = $Type Date = '$Date' UID=$UID Rev=$Rev File = '$Filename'\n";
 





More information about the llvm-commits mailing list