-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Coverage for a single package inside a workspace #361
Labels
C-bug
Category: related to a bug.
Comments
@taiki-e is there some workaround for this? |
|
Unfortunately it doesn't work either. Running
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've faced the same issue as #278, i'll try to provide a reproducible example:
Create a new workspace with the following structure:
The content of the files:
Run the coverage report just for crate-b:
cargo llvm-cov --package crate-b
This is the actual output:
This is the expected output:
It can be achieved ignoring crate-a from the files, but it increases in complexity as the workspace has more members:
cargo llvm-cov --package crate-b --ignore-filename-regex '(^|\/)crate-a'
The text was updated successfully, but these errors were encountered: