summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-20 15:44:33 +0000
committerChris Lattner <sabre@nondot.org>2003-08-20 15:44:33 +0000
commitc729415a12955bcc23ae6e09c6efe1d190bee7d1 (patch)
tree1817423462ec7d26f89cfbf3006d15c16dee2a03 /utils
parentfdaac9e23e71cc9713536a94bbd1ddd7a989e91d (diff)
downloadllvm-c729415a12955bcc23ae6e09c6efe1d190bee7d1.tar.gz
llvm-c729415a12955bcc23ae6e09c6efe1d190bee7d1.tar.bz2
llvm-c729415a12955bcc23ae6e09c6efe1d190bee7d1.tar.xz
Catch testing errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NightlyTest.pl4
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>";