-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude before include #37
Comments
Indeed, I originally thought of However, I suppose there's no reason we couldn't remove the mutual exclusion and then specify in the readme that if both are provided, |
RPGillespie6
added a commit
that referenced
this issue
Jan 7, 2020
RPGillespie6
added a commit
that referenced
this issue
Jan 7, 2020
RPGillespie6
added a commit
that referenced
this issue
Jan 7, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my project I want to restrict the coverage data to only source files inside the project, so I use
--include ${CMAKE_SOURCE_DIR}
. But, I also want to exclude the test files themselves from the coverage, so I would like to use--exclude test/
. Unfortunately, this doesn't work, because in this code:fastcov/fastcov.py
Line 144 in 558f9da
It seems like if there are any includes, the excludes are basically ignored. If I just move the handling of the excludes to before the includes, everything works as expected for me.
Is there any reason why includes would be first?
The text was updated successfully, but these errors were encountered: