Skip to content

Commit 52402b6

Browse files
committed
refactor script: adjust formatting for consistency and clean up trailing whitespace
1 parent 932ce74 commit 52402b6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/generate_llvm_coverage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def generate_coverage_reports(
7878
# Try to find similar executables
7979
bin_dir = Path(build_dir) / "bin"
8080
if bin_dir.exists():
81-
print(f" Available executables in bin/:", file=sys.stderr)
81+
print(" Available executables in bin/:", file=sys.stderr)
8282
for f in bin_dir.iterdir():
8383
if f.is_file() and f.stat().st_mode & 0o111: # executable
8484
print(f" {f.name}", file=sys.stderr)
@@ -106,7 +106,7 @@ def generate_coverage_reports(
106106
# Place coverage.lcov in the current working directory (build dir)
107107
lcov_file = Path("coverage.lcov")
108108
print(f"\nGenerating LCOV report: {lcov_file}")
109-
109+
110110
# For llvm-cov export, we need to specify the object files differently
111111
# The first executable is the main object, others are specified with -object
112112
cmd = [llvm_cov, "export"]
@@ -118,7 +118,7 @@ def generate_coverage_reports(
118118
"-instr-profile", profdata_file,
119119
"-format=lcov"
120120
] + ignore_args)
121-
121+
122122
print(f"Running: {' '.join(cmd[:10])}...") # Print first part of command for debugging
123123

124124
with open(lcov_file, 'w', encoding='utf-8') as f:

0 commit comments

Comments
 (0)