Skip to content

Commit 3db9c8d

Browse files
Use different exclusion pattern: /tmp/icpx*
1 parent 44a8e38 commit 3db9c8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libsyclinterface/tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if(DPCTL_GENERATE_COVERAGE)
5454
COMMAND ${LLVMCov_EXE}
5555
export
5656
-format=lcov
57-
-ignore-filename-regex=/tmp*/dpctl_*.h*
57+
-ignore-filename-regex=/tmp/icpx*
5858
-instr-profile=dpctl.profdata
5959
"${object_arg}$<JOIN:$<TARGET_OBJECTS:DPCTLSyclInterface>,;${object_arg}>"
6060
> dpctl.lcov

scripts/gen_coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def find_objects():
140140
os.path.join(bin_llvm, "llvm-cov"),
141141
"export",
142142
"-format=lcov",
143-
"-ignore-filename-regex=*tmp*/dpctl_*.h*",
143+
"-ignore-filename-regex=/tmp/icpx*",
144144
"-instr-profile=" + instr_profile_fn,
145145
]
146146
+ objects,

0 commit comments

Comments
 (0)