tests/run-multitests.py: Flush stdout for each line of trace output.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-05-13 16:26:07 +10:00
parent 9a0bca2c2a
commit 6affcb0104
1 changed files with 1 additions and 0 deletions

View File

@ -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):