diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-09 03:57:30 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-09 03:57:30 -0600 |
commit | c813eafbd8aaad5d66c3eb8857393c9fa1c98db6 (patch) | |
tree | e49f0f424f8582c5405dc078ccf3587e82ba58eb /test/LedgerHarness.py | |
parent | 59f5ebe2dfe7cc93e36377f0251691e4de7b83b4 (diff) | |
download | fork-ledger-c813eafbd8aaad5d66c3eb8857393c9fa1c98db6.tar.gz fork-ledger-c813eafbd8aaad5d66c3eb8857393c9fa1c98db6.tar.bz2 fork-ledger-c813eafbd8aaad5d66c3eb8857393c9fa1c98db6.zip |
Display file name when a regression test fails
Diffstat (limited to 'test/LedgerHarness.py')
-rwxr-xr-x | test/LedgerHarness.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py index 7b4dfa83..564a4d32 100755 --- a/test/LedgerHarness.py +++ b/test/LedgerHarness.py @@ -112,8 +112,10 @@ class LedgerHarness: sys.stdout.write(".") self.succeeded += 1 - def failure(self): + def failure(self, name=None): sys.stdout.write("E") + if name: + sys.stdout.write("[%s]" % name) self.failed += 1 def exit(self): |