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

Allow Java coverage collection for external targets #16637

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Nov 2, 2022

  • Removes a hardcoded filter that results in the LCOV merger filtering out coverage of external targets even if these are matched by --instrumentation_filter.
  • Lets LazyWritePathsFileAction write out exec rather than root-relative paths, as advertised by its javadocs, so that the paths match those that the LCOV mergers filters by.

Work towards #16228 Work towards #16208

Closes #16268.
Closes #16630.

PiperOrigin-RevId: 485580267
Change-Id: I830d3cf903462ca1799ef5f659a620dbdb92f349

* Removes a hardcoded filter that results in the LCOV merger filtering
  out coverage of external targets even if these are matched by
  `--instrumentation_filter`.
* Lets `LazyWritePathsFileAction` write out exec rather than
  root-relative paths, as advertised by its javadocs, so that the paths
  match those that the LCOV mergers filters by.

Work towards bazelbuild#16228
Work towards bazelbuild#16208

Closes bazelbuild#16268.

PiperOrigin-RevId: 485580267
Change-Id: I830d3cf903462ca1799ef5f659a620dbdb92f349
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants