summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/testrunner.py
diff options
context:
space:
mode:
authorPaolo Bonzini2021-10-06 11:24:22 +0200
committerPaolo Bonzini2021-10-13 10:47:49 +0200
commitecc00666a020368ec2c3712c40386dc7ea75a8a9 (patch)
tree4881ad8e38ea8c9ce7899cf476c4f31262ecdc76 /tests/qemu-iotests/testrunner.py
parentbuild: fix "make check" without earlier "make" (diff)
downloadqemu-ecc00666a020368ec2c3712c40386dc7ea75a8a9.tar.gz
qemu-ecc00666a020368ec2c3712c40386dc7ea75a8a9.tar.xz
qemu-ecc00666a020368ec2c3712c40386dc7ea75a8a9.zip
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/qemu-iotests/testrunner.py')
-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 a56b6da396..0e29c2fddd 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