mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 05:00:26 +00:00
Catch testing errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7981 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fdaac9e23e
commit
c729415a12
@ -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>";
|
||||
|
Loading…
Reference in New Issue
Block a user