diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-03-18 11:26:03 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-03-18 11:26:04 -0400 |
commit | 27781b6530c05f478f036272c0d992372b724737 (patch) | |
tree | c1f552a6474ce497854e6579a7c6964821e8ae4c | |
parent | 7ec7aea442815eef38068b3f16527129c341b000 (diff) | |
parent | 2e5d482659371082e34ee3aba42b3c5a301b8168 (diff) |
Merge #15466: tests: Print remaining jobs in test_runner.py
2e5d482659 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
-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 a0d9f820e6..61c5c9aefb 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -478,6 +478,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 |