From 6affcb0104336e629390b2bfba997f3446f9ea58 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 13 May 2021 16:26:07 +1000 Subject: [PATCH] tests/run-multitests.py: Flush stdout for each line of trace output. Signed-off-by: Damien George --- tests/run-multitests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/run-multitests.py b/tests/run-multitests.py index 3163a48e63..66ca799675 100755 --- a/tests/run-multitests.py +++ b/tests/run-multitests.py @@ -243,6 +243,7 @@ def trace_instance_output(instance_idx, line): if cmd_args.trace_output: t_ms = round((time.time() - trace_t0) * 1000) print("{:6} i{} :".format(t_ms, instance_idx), line) + sys.stdout.flush() def run_test_on_instances(test_file, num_instances, instances):