From 338dd7eb90f42625e42ab16ef6e9001953c25613 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 23 Sep 2003 20:33:04 +0000 Subject: [PATCH] Make it detect failed builds better git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8690 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/NightlyTest.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index 85dbae7f6c9..50756bf3f6e 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 = "

Build error: compilation " . "aborted

"; } -- 2.34.1