Skip to content

Commit 273326a

Browse files
llvm-cov target must export to dpctl.lcov for coveralls to work
1 parent cb374ce commit 273326a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libsyclinterface/tests/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ if(DPCTL_GENERATE_COVERAGE)
5151
-sparse default.profraw
5252
-o
5353
dpctl.profdata
54+
COMMAND ${LLVMCov_EXE}
55+
export
56+
-format=lcov
57+
-instr-profile=dpctl.profdata
58+
"${object_arg}$<JOIN:$<TARGET_OBJECTS:DPCTLSyclInterface>,;${object_arg}>"
59+
> dpctl.lcov
5460
COMMAND ${LLVMCov_EXE}
5561
report
5662
-instr-profile=dpctl.profdata

0 commit comments

Comments
 (0)