diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-02 04:50:21 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-02 04:50:21 -0400 |
commit | 1937394db8bae985870269a4ad3f042a75833161 (patch) | |
tree | 02ccbda62f7b5c5b4f879a00d3f6912f7c12c5ba /test/RegressTests.py | |
parent | a2ed6bc95d3d7d6c51ca3f65579b30cfca42d3e6 (diff) | |
download | fork-ledger-1937394db8bae985870269a4ad3f042a75833161.tar.gz fork-ledger-1937394db8bae985870269a4ad3f042a75833161.tar.bz2 fork-ledger-1937394db8bae985870269a4ad3f042a75833161.zip |
Failing RegressTests weren't reporting failure
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-x | test/RegressTests.py | 5 |
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" % \ |