Index: snapshot/win/end_to_end_test.py |
diff --git a/snapshot/win/end_to_end_test.py b/snapshot/win/end_to_end_test.py |
index 4217940934ccc9f74fc51e7ff36eb80c4218a424..75dafde9730d3c6ea49476756636ab9bff1b24b3 100644 |
--- a/snapshot/win/end_to_end_test.py |
+++ b/snapshot/win/end_to_end_test.py |
@@ -133,6 +133,7 @@ class CdbRun(object): |
# Matched. Consume up to end of match. |
self.out = self.out[match_obj.end(0):] |
print 'ok - %s' % message |
+ sys.stdout.flush() |
else: |
print >>sys.stderr, '-' * 80 |
print >>sys.stderr, 'FAILED - %s' % message |
@@ -141,6 +142,7 @@ class CdbRun(object): |
print >>sys.stderr, '-' * 80 |
print >>sys.stderr, 'remaining output was:\n %s' % self.out |
print >>sys.stderr, '-' * 80 |
+ sys.stderr.flush() |
sys.exit(1) |