From: Paolo Bonzini Date: Wed, 6 Oct 2021 09:24:22 +0000 (+0200) Subject: qemu-iotests: flush after every test X-Git-Tag: v6.2.0-rc0~58^2~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ecc00666a020368ec2c3712c40386dc7ea75a8a9;p=thirdparty%2Fqemu.git 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 Signed-off-by: Paolo Bonzini --- diff --git a/tests/qemu-iotests/testrunner.py b/tests/qemu-iotests/testrunner.py index a56b6da3968..0e29c2fdddd 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