From 2597d7eee638894ba44cbfd5cd56e465fbecfb2e Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Wed, 28 May 2025 03:24:04 +0200 Subject: [PATCH] Fix multiple "Running with coverage" prints (#3037) --- tests/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/tests.py b/tests/tests.py index ef1372a83..985379a2a 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -141,7 +141,6 @@ def run_test( gdb_args.extend(["--init-command", gdbinit_path]) if args.cov: - print("Running with coverage") gdb_args = [ "-ex", "py import sys;print(sys.path);import coverage;coverage.process_startup();", @@ -216,6 +215,9 @@ def run_tests_and_print_stats( start = time.time() stats = TestStats() + if args.cov: + print("Running tests with coverage") + if args.serial: for test in tests_list: result = run_test(test, args, gdb_path, gdbinit_path, reserve_port())