Skip to content

Commit

Permalink
tests: Print remaining jobs in test_runner.py
Browse files Browse the repository at this point in the history
This helps finding out which tests fail to finish.
  • Loading branch information
stevenroose authored and Warrows committed Jul 7, 2019
1 parent a57939f commit ae0b4d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/functional/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,11 @@ def get_next(self):
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
Expand Down

0 comments on commit ae0b4d0

Please sign in to comment.