Don't try to run qmtests if we fail to build the tree. The qmtests (at
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 25 Jun 2004 07:25:28 +0000 (07:25 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 25 Jun 2004 07:25:28 +0000 (07:25 +0000)
least, on macosx) will spiral out of control instead of failing gracefully.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14396 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NightlyTest.pl

index 67da24f4472bf2fdb122eb8ef8ed4f2c8e13c986..be1363bfcb98d9b7d159c55324de03f9efcd077f 100755 (executable)
@@ -404,6 +404,8 @@ if (`grep '^gmake[^:]*: .*Error' $BuildLog | wc -l` + 0 ||
   if ($VERBOSE) { print "BUILD ERROR\n"; }
 }
 
+if ($BuildError) { $NOFEATURES = 1; $NOREGRESSIONS = 1; }
+
 # Get results of feature tests.
 my $FeatureTestResults; # String containing the results of the feature tests
 my $FeatureTime;        # System+CPU Time for feature tests