bazel-skylib
bazel-skylib copied to clipboard
Improve getting actions from the target under test
Improve getting actions from the target under test:
-
Add an keyword "mnemonic" parameter to
analysistest.target_actions()to filter actions by mnemonic. -
Add
analysistest.target_action(env, mnemonic=None, output_ending_with=None)to get a single action by mnemonic or by one of its outputs.