Make the check for a failed test run more robust!!
authorChris Lattner <sabre@nondot.org>
Sun, 17 Aug 2003 20:52:05 +0000 (20:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 17 Aug 2003 20:52:05 +0000 (20:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7924 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NightlyTest.pl

index a982114d099493e8dcafbe942691d2f0e4e86101..7fb857095f5e7faae2cda1e1ce08660c588afd06 100755 (executable)
@@ -170,7 +170,7 @@ my $BuildTimeS = GetRegex "([0-9.]+)", `grep '^sys' $Prefix-Build-Log.txt`;
 my $BuildWallTime = GetRegex "([0-9.]+)", `grep '^real' $Prefix-Build-Log.txt`;
 my $BuildTime  = $BuildTimeU+$BuildTimeS;  # BuildTime = User+System
 my $BuildError = "";
-if (`grep '^gmake: .*Error' $Prefix-Build-Log.txt | wc -l` + 0) {
+if (`grep '^gmake[^:]*: .*Error' $Prefix-Build-Log.txt | wc -l` + 0) {
   $BuildError = "<h3>Build error: compilation <a href=\"$DATE-Build-Log.txt\">"
               . "aborted</a></h3>";
 }