aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-10-06 11:24:22 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-13 10:47:49 +0200
commitecc00666a020368ec2c3712c40386dc7ea75a8a9 (patch)
tree4881ad8e38ea8c9ce7899cf476c4f31262ecdc76 /tests
parent097a5f19a357b6bc699a05ccd119bfa89ea409cc (diff)
downloadqemu-ecc00666a020368ec2c3712c40386dc7ea75a8a9.zip
qemu-ecc00666a020368ec2c3712c40386dc7ea75a8a9.tar.gz
qemu-ecc00666a020368ec2c3712c40386dc7ea75a8a9.tar.bz2
qemu-iotests: flush after every test
This makes it possible to see what is happening, even if the output of "make check-block" is not sent to a tty (for example if it is sent to grep or tee). Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qemu-iotests/testrunner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/testrunner.py b/tests/qemu-iotests/testrunner.py
index a56b6da..0e29c2f 100644
--- a/tests/qemu-iotests/testrunner.py
+++ b/tests/qemu-iotests/testrunner.py
@@ -341,6 +341,7 @@ class TestRunner(ContextManager['TestRunner']):
elif res.status == 'not run':
notrun.append(name)
+ sys.stdout.flush()
if res.interrupted:
break