summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-23 20:33:04 +0000
committerChris Lattner <sabre@nondot.org>2003-09-23 20:33:04 +0000
commit338dd7eb90f42625e42ab16ef6e9001953c25613 (patch)
treeae0d68f204b2ffa2489305cbf689b4d1a6e44a96 /utils
parent332ae7f501e36d88b1dfdff4f18485ef07663085 (diff)
downloadllvm-338dd7eb90f42625e42ab16ef6e9001953c25613.tar.gz
llvm-338dd7eb90f42625e42ab16ef6e9001953c25613.tar.bz2
llvm-338dd7eb90f42625e42ab16ef6e9001953c25613.tar.xz
Make it detect failed builds better
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NightlyTest.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index 85dbae7f6c..50756bf3f6 100755
--- 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>";
}