Fix multiple "Running with coverage" prints (#3037)

pull/3035/head^2
Disconnect3d 7 months ago committed by GitHub
parent 6efcffd189
commit 2597d7eee6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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())

Loading…
Cancel
Save