Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Request for adding exclusion settings to the config file. #80

Open
2 of 3 tasks
unageek opened this issue Jun 11, 2020 · 1 comment
Open
2 of 3 tasks

Request for adding exclusion settings to the config file. #80

unageek opened this issue Jun 11, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@unageek
Copy link

unageek commented Jun 11, 2020

Do the checklist before filing an issue:

Motivation

I want the --excl-* options added in grcov v0.5.14 (mozilla/grcov#416) to be mapped to grcov.yml so that one can exclude #[derive(...)], mod tests { ... }, etc. from coverage analysis.

grcov.yml

excl-line: "#\\[derive\\("
excl-br-line: "#\\[derive\\("
excl-start: "mod tests \\{"
excl-br-start: "mod tests \\{"
@droundy
Copy link

droundy commented Mar 30, 2022

I like this feature, and would love (if it's implemented) to have a solid documented example of a set of exclusions (similar to what you give) that would exclude derive code and tests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants