From ae0b4d028d237d0eadbb035668c3c13598195d3b Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Fri, 22 Feb 2019 18:06:34 +0000 Subject: [PATCH] tests: Print remaining jobs in test_runner.py This helps finding out which tests fail to finish. --- test/functional/test_runner.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index edc8d0efe1d33..dd41f10492491 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -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