Skip to content

Implement native analysis_test call.#15940

Merged
ShreeM01 merged 1 commit intobazelbuild:release-5.3.0from
comius:cherrypick-analysistest
Jul 21, 2022
Merged

Implement native analysis_test call.#15940
ShreeM01 merged 1 commit intobazelbuild:release-5.3.0from
comius:cherrypick-analysistest

Conversation

@comius
Copy link
Copy Markdown
Contributor

@comius comius commented Jul 21, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants