summaryrefslogtreecommitdiff
path: root/test/LedgerHarness.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-10-22 11:19:11 -0700
committerJohn Wiegley <johnw@newartisans.com>2012-10-22 11:19:11 -0700
commitcffa343d715630e9696a8aeef33ba927dc5f35df (patch)
tree9ee09288f8e368c09cb67e752b2c8b04bc6a79f3 /test/LedgerHarness.py
parent6b5fb0da7372d7f5e48607b3885b8f9b01afa99c (diff)
parent9a2f44049634e8fa62f832f15dab0cef2d0eb6a3 (diff)
downloadfork-ledger-cffa343d715630e9696a8aeef33ba927dc5f35df.tar.gz
fork-ledger-cffa343d715630e9696a8aeef33ba927dc5f35df.tar.bz2
fork-ledger-cffa343d715630e9696a8aeef33ba927dc5f35df.zip
Merge pull request #91 from kljohann/tests.interactive
provide immediate feedback in test runner
Diffstat (limited to 'test/LedgerHarness.py')
-rwxr-xr-xtest/LedgerHarness.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py
index b8900971..39a31286 100755
--- a/test/LedgerHarness.py
+++ b/test/LedgerHarness.py
@@ -116,12 +116,14 @@ class LedgerHarness:
def success(self):
sys.stdout.write(".")
+ sys.stdout.flush()
self.succeeded += 1
def failure(self, name=None):
sys.stdout.write("E")
if name:
sys.stdout.write("[%s]" % name)
+ sys.stdout.flush()
self.failed += 1
def exit(self):