Skip to content

Update code coverage to grcov #3353

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

Merged

Conversation

JonathanWoollett-Light
Copy link
Contributor

Changes

Changes code coverage to grcov.

Reason

kcov outputs inaccurate coverage.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license.

PR Checklist

  • All commits in this PR are signed (git commit -s).
  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this PR.
  • New unsafe code is documented.
  • API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • New TODOs link to an issue.

  • This functionality can be added in rust-vmm.

@JonathanWoollett-Light JonathanWoollett-Light self-assigned this Jan 6, 2023
@JonathanWoollett-Light JonathanWoollett-Light marked this pull request as ready for review January 6, 2023 16:01
@JonathanWoollett-Light JonathanWoollett-Light added Quality: CI Status: Awaiting review Indicates that a pull request is ready to be reviewed labels Jan 6, 2023
@JonathanWoollett-Light JonathanWoollett-Light force-pushed the grcov branch 2 times, most recently from 11ebc1c to c230d1d Compare January 6, 2023 16:06
@roypat
Copy link
Contributor

roypat commented Jan 9, 2023

Closes #3207

@JonathanWoollett-Light JonathanWoollett-Light force-pushed the grcov branch 5 times, most recently from ec3d316 to b75db71 Compare January 9, 2023 14:48
@JonathanWoollett-Light JonathanWoollett-Light force-pushed the grcov branch 10 times, most recently from 1913e51 to 29786a5 Compare January 9, 2023 17:41
@JonathanWoollett-Light JonathanWoollett-Light force-pushed the grcov branch 4 times, most recently from c64de5a to 95f4cc0 Compare January 10, 2023 11:25
pb8o
pb8o previously approved these changes Jan 10, 2023
roypat
roypat previously approved these changes Jan 10, 2023
Jonathan Woollett-Light and others added 3 commits January 10, 2023 14:16
Moved code coverage from kcov to grcov.

Updated `verify_dependencies.rs` as no longer proxying through
`cargo kcov` and the environment variable `CARGO_MANIFEST_DIR` is now
always set.

Signed-off-by: Jonathan Woollett-Light <[email protected]>
Co-authored-by: Pablo Barbáchano <[email protected]>
Signed-off-by: Jonathan Woollett-Light <[email protected]>
We don't need to specify `+"stable"` in
`cargo install +"stable" cargo-audit` as this will be the default.

Signed-off-by: Jonathan Woollett-Light <[email protected]>
@JonathanWoollett-Light JonathanWoollett-Light merged commit b10efaf into firecracker-microvm:main Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting review Indicates that a pull request is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants