Skip to content

Commit 1bb6392

Browse files
Merge pull request #207 from riscv/206-add-any-to-bases
Added Any to list of bases and changed test to get coverage.
2 parents e73af3c + d3373c8 commit 1bb6392

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

schemas/common-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
"bases": {
5454
"type": "string",
55-
"enum": ["RV32I", "RV32E", "RV64I", "RV64E"]
55+
"enum": ["Any", "RV32I", "RV32E", "RV64I", "RV64E"]
5656
},
5757
"implDefBehavior": {
5858
"type": "boolean"

tests/norm-rule/expected/test-norm-rules.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ <h1 class="grand-total-heading">82 Normative Rules: Includes 19 Implementation-D
228228
<td>Rule's "kind" property</td>
229229
</tr>
230230
<tr>
231-
<td>[RV32I, RV32E, RV64I, RV64E]</td>
232-
<td>Rule's "instances" property</td>
231+
<td>Any</td>
232+
<td>Rule's "instance" property</td>
233233
</tr>
234234
<tr>
235235
<td rowspan=2 id="clarification-without-text">clarification-without-text</td>

tests/norm-rule/expected/test-norm-rules.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@
8080
"kind": "base",
8181
"impl-def-behavior": false,
8282
"instances": [
83-
"RV32I",
84-
"RV32E",
85-
"RV64I",
86-
"RV64E"
83+
"Any"
8784
],
8885
"tags": []
8986
},

tests/norm-rule/test-ch1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ normative_rule_definitions:
3131
instance: RV32I
3232
- name: all_bases
3333
kind: base
34-
instances: [RV32I, RV32E, RV64I, RV64E]
34+
instance: Any
3535
- name: clarification-without-text
3636
tag: "norm:clarification-without-text"
3737
clarification-link: https://www.github.com/riscv/jfkd/issues/67

0 commit comments

Comments
 (0)