Skip to content

Commit 27781b6

Browse files
author
MarcoFalke
committed
Merge #15466: tests: Print remaining jobs in test_runner.py
2e5d482 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
2 parents 7ec7aea + 2e5d482 commit 27781b6

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
@@ -478,6 +478,11 @@ def get_next(self):
478478
log_stderr))
479479
if not self.jobs:
480480
raise IndexError('pop from empty list')
481+
482+
# Print remaining running jobs when all jobs have been started.
483+
if not self.test_list:
484+
print("Remaining jobs: [{}]".format(", ".join(j[0] for j in self.jobs)))
485+
481486
dot_count = 0
482487
while True:
483488
# Return first proc that finishes

0 commit comments

Comments
 (0)