You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doesn't always behave nicely with expect_failures = True.
Specifically, if the custom_rule target fails before an action is registered to output my_output, a stack trace is thrown by Bazel.
at com.google.devtools.build.lib.analysis.CachingAnalysisEnvironment.verifyGeneratedArtifactHaveActions(CachingAnalysisEnvironment.java:144)
at com.google.devtools.build.lib.analysis.CachingAnalysisEnvironment.disable(CachingAnalysisEnvironment.java:107)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:856)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:358)
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:440)
... 6 more
The text was updated successfully, but these errors were encountered:
It looks as if an analysis test depending on a rule with an implicit rule output, such as the example:
doesn't always behave nicely with
expect_failures = True
.Specifically, if the
custom_rule
target fails before an action is registered to outputmy_output
, a stack trace is thrown by Bazel.The text was updated successfully, but these errors were encountered: