Skip to content
Snippets Groups Projects
Unverified Commit b3a254d1 authored by Ted Kaplan's avatar Ted Kaplan Committed by GitHub
Browse files

Add host transition to Java version of py_test (#17594)


Co-authored-by: default avatarkshyanashree <109167932+kshyanashree@users.noreply.github.com>
parent 68e1924c
Branches
Tags
No related merge requests found
......@@ -57,7 +57,10 @@ public final class BazelPyTestRule implements RuleDefinition {
attr("$launcher", LABEL)
.cfg(ExecutionTransitionFactory.create())
.value(env.getToolsLabel("//tools/launcher:launcher")))
.add(attr(":lcov_merger", LABEL).value(BaseRuleClasses.getCoverageOutputGeneratorLabel()))
.add(
attr(":lcov_merger", LABEL)
.cfg(ExecutionTransitionFactory.create())
.value(BaseRuleClasses.getCoverageOutputGeneratorLabel()))
// Add the script as an attribute in order for py_test to output code coverage results for
// code covered by CC binaries invocations.
.add(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment