Skip to content

Commit 2e5d482

Browse files
committed
tests: Print remaining jobs in test_runner.py
This helps finding out which tests fail to finish.
1 parent 169dced commit 2e5d482

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/functional/test_runner.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,11 @@ def get_next(self):
477477
log_stderr))
478478
if not self.jobs:
479479
raise IndexError('pop from empty list')
480+
481+
# Print remaining running jobs when all jobs have been started.
482+
if not self.test_list:
483+
print("Remaining jobs: [{}]".format(", ".join(j[0] for j in self.jobs)))
484+
480485
dot_count = 0
481486
while True:
482487
# Return first proc that finishes

0 commit comments

Comments
 (0)