mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Catch testing errors
llvm-svn: 7981
This commit is contained in:
parent
532e368c8a
commit
0b012f0e4b
@ -299,10 +299,10 @@ sub TestDirectory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $ProgramsTable;
|
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;
|
$TestError = 1;
|
||||||
$ProgramsTable = "<font color=white><h2>Error running tests!</h2></font>";
|
$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;
|
$TestError = 1;
|
||||||
$ProgramsTable =
|
$ProgramsTable =
|
||||||
"<font color=white><h2>Makefile error running tests!</h2></font>";
|
"<font color=white><h2>Makefile error running tests!</h2></font>";
|
||||||
|
Loading…
Reference in New Issue
Block a user