summaryrefslogtreecommitdiff
path: root/test/LedgerHarness.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/LedgerHarness.py')
-rwxr-xr-xtest/LedgerHarness.py4
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):