From: Chris Lattner Date: Wed, 20 Aug 2003 15:44:33 +0000 (+0000) Subject: Catch testing errors X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c729415a12955bcc23ae6e09c6efe1d190bee7d1;p=oota-llvm.git Catch testing errors git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7981 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index 4f2b647682e..489936bc99b 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -299,10 +299,10 @@ sub TestDirectory { } 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 = "

Error running tests!

"; - } 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 = "

Makefile error running tests!

";