diff options
-rwxr-xr-x | utils/NightlyTest.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index 4f2b647682..489936bc99 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 = "<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>"; |