summaryrefslogtreecommitdiff
path: root/test/LedgerHarness.py
diff options
context:
space:
mode:
authorJohann Klähn <kljohann@gmail.com>2012-10-22 10:11:56 +0200
committerJohann Klähn <kljohann@gmail.com>2012-10-22 10:11:56 +0200
commit9a2f44049634e8fa62f832f15dab0cef2d0eb6a3 (patch)
tree9ee09288f8e368c09cb67e752b2c8b04bc6a79f3 /test/LedgerHarness.py
parent6b5fb0da7372d7f5e48607b3885b8f9b01afa99c (diff)
downloadfork-ledger-9a2f44049634e8fa62f832f15dab0cef2d0eb6a3.tar.gz
fork-ledger-9a2f44049634e8fa62f832f15dab0cef2d0eb6a3.tar.bz2
fork-ledger-9a2f44049634e8fa62f832f15dab0cef2d0eb6a3.zip
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):