Skip to content

Collect coverage from cc_binary data deps of py_test#15298

Merged
ckolli5 merged 2 commits intobazelbuild:release-5.2.0from
fmeum:release-5.2.0-15097
May 12, 2022
Merged

Collect coverage from cc_binary data deps of py_test#15298
ckolli5 merged 2 commits intobazelbuild:release-5.2.0from
fmeum:release-5.2.0-15097

Conversation

@fmeum
Copy link
Copy Markdown
Collaborator

@fmeum fmeum commented Apr 20, 2022

Before this commit, if a py_test executed a cc_binary from its data
deps, coverage for this cc_binary would not be collected. This is fixed
by adding the implicit $collect_cc_coverage attribute to
BazelPyTestRule, similar to how this is already done for
BazelShTestRule.

Fixes #15098.

Closes #15097.

PiperOrigin-RevId: 442800790

Fixes #15291.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Rules-Python Native rules for Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants