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

Fix coverage calculation by calling blaze coverage individually #565

Merged
merged 1 commit into from
Aug 11, 2021
Merged

Fix coverage calculation by calling blaze coverage individually #565

merged 1 commit into from
Aug 11, 2021

Conversation

tnek
Copy link
Contributor

@tnek tnek commented Aug 10, 2021

Setting LCOV_MERGER (as done in bazelbuild/rules_apple#338 (comment)) results in blaze coverage of a test_suite collecting the test coverage of one test in the suite (presumably, the slowest test to complete). We can fix this by calling blaze coverage of all tests and then merging them afterwards.

We also want to avoid getting coverage of non-Santa binaries packaged in runfiles as testdata.

@google-cla google-cla bot added the cla: yes label Aug 10, 2021
@tnek tnek merged commit 27ee665 into google:main Aug 11, 2021
@tnek tnek deleted the covmerge branch August 12, 2021 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants