Commit 3df302e1 authored by Philipp Wagner's avatar Philipp Wagner Committed by udinator
Browse files

Improve status reporting



Report job progress like "1/2" and "2/2" instead of "0/2" and "1/2", as
it was done before.

Only a cosmetic change.
Signed-off-by: default avatarPhilipp Wagner <phw@lowrisc.org>
parent 2b2abda6
......@@ -157,7 +157,7 @@ def run_parallel_cmd(cmd_list, timeout_s=999, exit_on_error=0,
stderr=subprocess.STDOUT)
children.append(ps)
for i in range(len(children)):
logging.info("Command progress: {}/{}".format(i, len(children)))
logging.info("Command progress: {}/{}".format(i + 1, len(children)))
logging.debug("Waiting for command: {}".format(cmd_list[i]))
try:
output = children[i].communicate(timeout=timeout_s)[0]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment