Merge #15466: tests: Print remaining jobs in test_runner.py
2e5d482659
tests: Print remaining jobs in test_runner.py (Steven Roose)
Pull request description:
This helps finding out which tests fail to finish.
Tree-SHA512: d22beb82beecd33aaa50731c83075e49577842d29fd21aa63bcb859df5da99069eba9cc16eed5d91dbba8fb0fdc317fb88b3b370c4d3917e9da1cd13b0a622dc
This commit is contained in:
commit
27781b6530
1 changed files with 5 additions and 0 deletions
|
@ -478,6 +478,11 @@ class TestHandler:
|
|||
log_stderr))
|
||||
if not self.jobs:
|
||||
raise IndexError('pop from empty list')
|
||||
|
||||
# Print remaining running jobs when all jobs have been started.
|
||||
if not self.test_list:
|
||||
print("Remaining jobs: [{}]".format(", ".join(j[0] for j in self.jobs)))
|
||||
|
||||
dot_count = 0
|
||||
while True:
|
||||
# Return first proc that finishes
|
||||
|
|
Loading…
Reference in a new issue