forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement native analysis_test call.
The call defines a rule and a target on the BUILD thread. Since target names need to be unique so is the rule class name. This removes boilerplate in analysis testing. This mechanism replaces rule.name mechanism, which will be removed. If this becomes the default for analysis tests, rule call may be further simplified. The implementation is safeguarded by experimental flag. PiperOrigin-RevId: 462309501 Change-Id: I918ddcc8efd3b27f822998bcaa454e467a98b7ea
- Loading branch information
1 parent
9a25d92
commit d1ba1b3
Showing
5 changed files
with
373 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.