Skip to content

Commit 8973006

Browse files
committed
use bin_llvm when running llvm-cov and llvm-profdata
1 parent 527de4f commit 8973006

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/gen_coverage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def main():
295295

296296
run(
297297
[
298-
os.path.join(args.bin_llvm or "", "llvm-profdata"),
298+
os.path.join(bin_llvm, "llvm-profdata"),
299299
"merge",
300300
"-sparse",
301301
env["LLVM_PROFILE_FILE"],
@@ -307,7 +307,7 @@ def main():
307307
with open("dpctl_pytest.lcov", "w") as fh:
308308
subprocess.check_call(
309309
[
310-
os.path.join(args.bin_llvm or "", "llvm-cov"),
310+
os.path.join(bin_llvm, "llvm-cov"),
311311
"export",
312312
"-format=lcov",
313313
"-ignore-filename-regex=/tmp/icpx*",

0 commit comments

Comments
 (0)