Skip to content
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

Update code coverage to grcov #3353

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.

tests/integration_tests/build/test_coverage.py Outdated Show resolved Hide resolved
tests/integration_tests/build/test_coverage.py Outdated Show resolved Hide resolved
tests/integration_tests/build/test_coverage.py Outdated Show resolved Hide resolved
tools/devctr/Dockerfile.aarch64 Outdated Show resolved Hide resolved
tools/devctr/Dockerfile.x86_64 Outdated Show resolved Hide resolved
@roypat
Copy link
Contributor

roypat commented Jan 9, 2023

Closes #3207

pb8o
pb8o previously approved these changes Jan 10, 2023
roypat
roypat previously approved these changes Jan 10, 2023
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 <jcawl@amazon.co.uk>
Co-authored-by: Pablo Barbáchano <pablob@amazon.com>
Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
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 <jcawl@amazon.co.uk>
@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.

None yet

4 participants