diff options
author | Steven Roose <steven@stevenroose.org> | 2019-02-22 18:06:34 +0000 |
---|---|---|
committer | Steven Roose <steven@stevenroose.org> | 2019-03-05 16:18:50 +0000 |
commit | 2e5d482659371082e34ee3aba42b3c5a301b8168 (patch) | |
tree | ec6d89341e6e08a5da40610e8a0cfda0c78ea9bc /test/functional | |
parent | 169dced9a42bd741b3265adee23e6a8d1f852227 (diff) |
tests: Print remaining jobs in test_runner.py
This helps finding out which tests fail to finish.
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/test_runner.py | 5 |
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 |