From fa76d8d4d71d844e217686881d4f630eac3a8e10 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 15 Mar 2022 19:19:50 +0100 Subject: test: Actually print TSan tracebacks --- test/functional/test_runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/functional/test_runner.py') diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index b0f24e3b97..51c459002a 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -589,11 +589,12 @@ def run_tests(*, test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage= # Clean up dangling processes if any. This may only happen with --failfast option. # Killing the process group will also terminate the current process but that is # not an issue - if len(job_queue.jobs): + if not os.getenv("CI_FAILFAST_TEST_LEAVE_DANGLING") and len(job_queue.jobs): os.killpg(os.getpgid(0), signal.SIGKILL) sys.exit(not all_passed) + def print_results(test_results, max_len_name, runtime): results = "\n" + BOLD[1] + "%s | %s | %s\n\n" % ("TEST".ljust(max_len_name), "STATUS ", "DURATION") + BOLD[0] -- cgit v1.2.3