Make the check for a failed test run more robust!!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-17 20:52:05 +00:00
parent 10b1f5a941
commit e2ce618e2c

View File

@ -170,7 +170,7 @@ my $BuildTimeS = GetRegex "([0-9.]+)", `grep '^sys' $Prefix-Build-Log.txt`;
my $BuildWallTime = GetRegex "([0-9.]+)", `grep '^real' $Prefix-Build-Log.txt`;
my $BuildTime = $BuildTimeU+$BuildTimeS; # BuildTime = User+System
my $BuildError = "";
if (`grep '^gmake: .*Error' $Prefix-Build-Log.txt | wc -l` + 0) {
if (`grep '^gmake[^:]*: .*Error' $Prefix-Build-Log.txt | wc -l` + 0) {
$BuildError = "<h3>Build error: compilation <a href=\"$DATE-Build-Log.txt\">"
. "aborted</a></h3>";
}