summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/RegressTests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py
index e59ecc50..48efaaa1 100755
--- a/test/RegressTests.py
+++ b/test/RegressTests.py
@@ -96,7 +96,10 @@ def test_regression(test_file):
print " ", line,
if exitcode == p.wait():
- harness.success()
+ if success:
+ harness.success()
+ else:
+ harness.failure()
else:
if success: print
print "Regression failure in exitcode from %s: %d (expected) != %d" % \