Skip to content

Added Any to list of bases and changed test to get coverage.#207

Merged
james-ball-qualcomm merged 1 commit intomainfrom
206-add-any-to-bases
Mar 11, 2026
Merged

Added Any to list of bases and changed test to get coverage.#207
james-ball-qualcomm merged 1 commit intomainfrom
206-add-any-to-bases

Conversation

@james-ball-qualcomm
Copy link
Collaborator

Pretty simple change.

Signed-off-by: James Ball <jameball@qti.qualcomm.com>
Copilot AI review requested due to automatic review settings March 11, 2026 22:58
@james-ball-qualcomm james-ball-qualcomm self-assigned this Mar 11, 2026
@james-ball-qualcomm james-ball-qualcomm merged commit 1bb6392 into main Mar 11, 2026
4 checks passed
@james-ball-qualcomm james-ball-qualcomm deleted the 206-add-any-to-bases branch March 11, 2026 22:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for representing a “catch-all” base ISA by introducing "Any" as a valid base value in the shared schema, and updates the normative-rule golden tests to exercise that value.

Changes:

  • Extend schemas/common-schema.json base enum to include "Any".
  • Update tests/norm-rule/test-ch1.yaml to use instance: Any for the all_bases base rule.
  • Refresh expected normative-rules JSON/HTML outputs to match the new test input.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tests/norm-rule/test-ch1.yaml Updates base rule input to use instance: Any.
tests/norm-rule/expected/test-norm-rules.json Updates golden JSON to expect "instances": ["Any"] for the affected rule.
tests/norm-rule/expected/test-norm-rules.html Updates golden HTML to display Any and label it as an instance (single item).
schemas/common-schema.json Adds "Any" to the allowed base values enum.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Add "Any" to bases enum to capture norm rules inherent in RISC-V

2 participants