Skip to content

Commit

Permalink
Add host transition to Java version of py_test (#17594)
Browse files Browse the repository at this point in the history
Co-authored-by: kshyanashree <[email protected]>
  • Loading branch information
thirtyseven and ShreeM01 authored Feb 27, 2023
1 parent 68e1924 commit b3a254d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ public RuleClass build(RuleClass.Builder builder, RuleDefinitionEnvironment env)
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(
Expand Down

0 comments on commit b3a254d

Please sign in to comment.