From 1937394db8bae985870269a4ad3f042a75833161 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 2 Mar 2009 04:50:21 -0400 Subject: Failing RegressTests weren't reporting failure --- test/RegressTests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/RegressTests.py') 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" % \ -- cgit v1.2.3