tests: Print remaining jobs in test_runner.py
This helps finding out which tests fail to finish.
This commit is contained in:
parent
169dced9a4
commit
2e5d482659
1 changed files with 5 additions and 0 deletions
|
@ -477,6 +477,11 @@ class TestHandler:
|
||||||
log_stderr))
|
log_stderr))
|
||||||
if not self.jobs:
|
if not self.jobs:
|
||||||
raise IndexError('pop from empty list')
|
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
|
dot_count = 0
|
||||||
while True:
|
while True:
|
||||||
# Return first proc that finishes
|
# Return first proc that finishes
|
||||||
|
|
Loading…
Add table
Reference in a new issue