tools: flush print in test case generator
When not flushed, the line often doesn't get printed until after the job is done. Printing it before the job is useful for knowing the progress of a multi-job run.
This commit is contained in:
parent
347fcf74a6
commit
67c5e099ed
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class TestCaseGenerator:
|
|||
|
||||
|
||||
def generate_test_case(test_type, distro, arch, output_format, test_case_request, keep_image_info, store, output):
|
||||
print(f"generating test case for {output_format}")
|
||||
print(f"generating test case for {output_format}", flush=True)
|
||||
generator = TestCaseGenerator(test_case_request)
|
||||
test_case = generator.get_test_case(keep_image_info, store)
|
||||
name = distro.replace("-", "_") + "-" + arch + "-" + output_format.replace("-", "_") + "-" + test_type + ".json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue