aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/test.schema.json25
-rw-r--r--test cases/frameworks/1 boost/test.json8
2 files changed, 24 insertions, 9 deletions
diff --git a/data/test.schema.json b/data/test.schema.json
index aa3cf8f..00c52ae 100644
--- a/data/test.schema.json
+++ b/data/test.schema.json
@@ -12,6 +12,7 @@
"type": "array",
"items": {
"type": "object",
+ "additionalProperties": false,
"properties": {
"file": {
"type": "string"
@@ -53,15 +54,19 @@
},
"matrix": {
"type": "object",
- "additionalProperties": {
- "properties": {
- "options": {
+ "properties": {
+ "options": {
+ "additionalProperties": {
"type": "array",
"items": {
"type": "object",
+ "additionalProperties": false,
"properties": {
"val": {
- "type": "string"
+ "type": ["string", "boolean", "null", "array"],
+ "items": {
+ "type": "string"
+ }
},
"compilers": {
"type": "object",
@@ -86,7 +91,10 @@
"items": {
"type": "object",
"additionalProperties": {
- "type": "string"
+ "type": ["string", "boolean", "array"],
+ "items": {
+ "type": "string"
+ }
}
}
}
@@ -110,6 +118,7 @@
"type": "array",
"items": {
"type": "object",
+ "additionalProperties": false,
"properties": {
"line": {
"type": "string"
@@ -120,6 +129,12 @@
"literal",
"re"
]
+ },
+ "count": {
+ "type": "integer"
+ },
+ "comment": {
+ "type": "string"
}
},
"required": [
diff --git a/test cases/frameworks/1 boost/test.json b/test cases/frameworks/1 boost/test.json
index f4412d2..3145c80 100644
--- a/test cases/frameworks/1 boost/test.json
+++ b/test cases/frameworks/1 boost/test.json
@@ -7,10 +7,10 @@
],
"b_vscrt": [
{ "val": null },
- { "val": "md", "compilers": { "cpp": [ "msvc" ] } },
- { "val": "mdd", "compilers": { "cpp": [ "msvc" ] } },
- { "val": "mt", "compilers": { "cpp": [ "msvc" ] } },
- { "val": "mtd", "compilers": { "cpp": [ "msvc" ] } }
+ { "val": "md", "compilers": { "cpp": "msvc" } },
+ { "val": "mdd", "compilers": { "cpp": "msvc" } },
+ { "val": "mt", "compilers": { "cpp": "msvc" } },
+ { "val": "mtd", "compilers": { "cpp": "msvc" } }
]
},
"exclude": [