Skip to content

Commit 531437f

Browse files
Exclude _cython_api0 from coverage report
1 parent 874f4fe commit 531437f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/gen_coverage.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ def find_objects():
140140
os.path.join(bin_llvm, "llvm-cov"),
141141
"export",
142142
"-format=lcov",
143-
"-ignore-filename-regex=/tmp/icpx*",
143+
"-ignore-filename-regex=/tmp/icpx.*",
144+
"-ignore-filename-regex=/tmp/.*_cython_api0.*",
144145
"-instr-profile=" + instr_profile_fn,
145146
]
146147
+ objects,

0 commit comments

Comments
 (0)