1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Make it detect failed builds better

llvm-svn: 8690
This commit is contained in:
Chris Lattner 2003-09-23 20:33:04 +00:00
parent cdf12dfd03
commit 21106c98aa

View File

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