projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
332ae7f
)
Make it detect failed builds better
author
Chris Lattner
<sabre@nondot.org>
Tue, 23 Sep 2003 20:33:04 +0000
(20:33 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 23 Sep 2003 20:33:04 +0000
(20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8690
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/NightlyTest.pl
patch
|
blob
|
history
diff --git
a/utils/NightlyTest.pl
b/utils/NightlyTest.pl
index 85dbae7f6c9ae0132bfa6bcbb7bfa100d78725d0..50756bf3f6ebeecb29b6112cc3a3bcd1d854cd9a 100755
(executable)
--- a/
utils/NightlyTest.pl
+++ b/
utils/NightlyTest.pl
@@
-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>";
}