Don't try to run qmtests if we fail to build the tree. The qmtests (at
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
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index 67da24f..be1363b 100755
--- a/utils/NightlyTest.pl
+++ b/utils/NightlyTest.pl
@@ -404,6 +404,8 @@
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