You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option --ignore works on the paths built into the coverage files (which are absolute paths usually), unless something like --prefix-dir is specified which removes the prefix and the paths become relative. So <PATH> here is a pattern to match the paths, whatever format they have. You can see what data it filters by running grcov path_to_your_coverage -t files optionally adding other params that you want to use.
--ignore "**/main.rs" would ignore coverage for all files which path ends with /main.rs, that's equivalent to --ignore "*/main.rs" if I'm not mistaken.
--ignore "/*" would remove coverage for all files that have absolute path (in this example, i suppose they want to ignore all system library files that happened to get into coverage data)
Hi, we are using grcov for our product coverage analysis!
I have some questions about the
--ignore <PATH>
option:--ignore "**/main.rs"
, what effect does this option have on the output?--ignore "/*"
in these examples?The text was updated successfully, but these errors were encountered: