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

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 20 10:45:02 PDT 2003


Changes in directory llvm/utils:

NightlyTest.pl updated: 1.26 -> 1.27

---
Log message:

Catch testing errors


---
Diffs of the changes:

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.26 llvm/utils/NightlyTest.pl:1.27
--- llvm/utils/NightlyTest.pl:1.26	Tue Aug 19 13:35:03 2003
+++ llvm/utils/NightlyTest.pl	Wed Aug 20 10:44:33 2003
@@ -299,10 +299,10 @@
   }
 
   my $ProgramsTable;
-  if (`grep '^gmake: .*Error' $Prefix-$SubDir-ProgramTest.txt | wc -l` + 0) {
+  if (`grep '^gmake[^:]: .*Error' $Prefix-$SubDir-ProgramTest.txt | wc -l` + 0){
     $TestError = 1;
     $ProgramsTable = "<font color=white><h2>Error running tests!</h2></font>";
-  } elsif (`grep '^gmake: .*No rule to make target' $Prefix-$SubDir-ProgramTest.txt | wc -l` + 0) {
+  } elsif (`grep '^gmake[^:]: .*No rule to make target' $Prefix-$SubDir-ProgramTest.txt | wc -l` + 0) {
     $TestError = 1;
     $ProgramsTable =
       "<font color=white><h2>Makefile error running tests!</h2></font>";





More information about the llvm-commits mailing list