Skip to content
Snippets Groups Projects
Commit d7e18989 authored by Chris Lattner's avatar Chris Lattner
Browse files

Make it detect failed builds better

llvm-svn: 8690
parent 295b907c
No related branches found
No related tags found
No related merge requests found
...@@ -197,7 +197,8 @@ my $BuildTime = $BuildTimeU+$BuildTimeS; # BuildTime = User+System ...@@ -197,7 +197,8 @@ my $BuildTime = $BuildTimeU+$BuildTimeS; # BuildTime = User+System
my $BuildWallTime = GetRegexNum "^real", 1, "([0-9.]+)","$Prefix-Build-Log.txt"; my $BuildWallTime = GetRegexNum "^real", 1, "([0-9.]+)","$Prefix-Build-Log.txt";
my $BuildError = ""; 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 " . $BuildError = "<h3><font color='red'>Build error: compilation " .
"<a href=\"$DATE-Build-Log.txt\">aborted</a></font></h3>"; "<a href=\"$DATE-Build-Log.txt\">aborted</a></font></h3>";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment