llvm.org GIT mirror llvm / 338dd7e
Make it detect failed builds better git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8690 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
196196 my $BuildWallTime = GetRegexNum "^real", 1, "([0-9.]+)","$Prefix-Build-Log.txt";
197197
198198 my $BuildError = "";
199 if (`grep '^gmake[^:]*: .*Error' $Prefix-Build-Log.txt | wc -l` + 0) {
199 if (`grep '^gmake[^:]*: .*Error' $Prefix-Build-Log.txt | wc -l` + 0 ||
200 `grep '^gmake: \*\*\*.*Stop.`+0) {
200201 $BuildError = "

Build error: compilation " .

201202 "aborted";
202203 }