aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_runner.py
diff options
context:
space:
mode:
authorSteven Roose <steven@stevenroose.org>2019-02-22 18:06:34 +0000
committerSteven Roose <steven@stevenroose.org>2019-03-05 16:18:50 +0000
commit2e5d482659371082e34ee3aba42b3c5a301b8168 (patch)
treeec6d89341e6e08a5da40610e8a0cfda0c78ea9bc /test/functional/test_runner.py
parent169dced9a42bd741b3265adee23e6a8d1f852227 (diff)
downloadbitcoin-2e5d482659371082e34ee3aba42b3c5a301b8168.tar.xz
tests: Print remaining jobs in test_runner.py
This helps finding out which tests fail to finish.
Diffstat (limited to 'test/functional/test_runner.py')
-rwxr-xr-xtest/functional/test_runner.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py
index 999cd72108..7f06382552 100755
--- a/test/functional/test_runner.py
+++ b/test/functional/test_runner.py
@@ -477,6 +477,11 @@ class TestHandler:
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