mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 01:12:53 +00:00
Make it detect failed builds better
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8690 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
332ae7f501
commit
338dd7eb90
@ -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>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user