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

StandaloneTestStrategy: add lcov_merger to tools of TestRunner spawns #24406

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

malt3
Copy link
Contributor

@malt3 malt3 commented Nov 20, 2024

The default lcov_merger (@bazel_tools//tools/test:lcov_merger) is a java_binary that requires runfiles to work.
In StandaloneTestStrategy, it was added to the inputs of TestRunner spawns, but not to tools.
This prevents the runfiles from being available to the action, preventing coverage from being collected during remote execution.

Fixes #4033

The default lcov_merger (@bazel_tools//tools/test:lcov_merger) is a
java_binary that requires runfiles to work.
In StandaloneTestStrategy, it was added to the inputs of TestRunner
spawns, but not to tools.
This prevents the runfiles from being available to the action,
preventing coverage to be collected during remote execution.

Fixes bazelbuild#4033
@malt3 malt3 marked this pull request as ready for review November 20, 2024 09:42
@malt3 malt3 requested a review from a team as a code owner November 20, 2024 09:42
@malt3 malt3 requested review from aranguyen and removed request for a team November 20, 2024 09:42
@github-actions github-actions bot added team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels Nov 20, 2024
@fmeum
Copy link
Collaborator

fmeum commented Nov 20, 2024

@lberki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review PR is awaiting review from an assigned reviewer team-Configurability platforms, toolchains, cquery, select(), config transitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LcovMerger not properly declared as a tool by StandaloneTestStrategy
2 participants