mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 19:50:43 +02:00
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
@ -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…
Reference in New Issue
Block a user