diff --git a/scripts/sanity_chk/sanitycheck-tc-schema.yaml b/scripts/sanity_chk/sanitycheck-tc-schema.yaml index d1d85dd0825..47545228462 100644 --- a/scripts/sanity_chk/sanitycheck-tc-schema.yaml +++ b/scripts/sanity_chk/sanitycheck-tc-schema.yaml @@ -47,7 +47,10 @@ mapping: mapping: "type": type: str - required: yes + required: no + "fixture": + type: str + required: no "ordered": type: bool required: no @@ -56,7 +59,7 @@ mapping: required: no "regex": type: seq - required: yes + required: no sequence: - type: str "min_ram": @@ -160,7 +163,10 @@ mapping: mapping: "type": type: str - required: yes + required: no + "fixture": + type: str + required: no "ordered": type: bool required: no @@ -169,7 +175,7 @@ mapping: required: no "regex": type: seq - required: yes + required: no sequence: - type: str "min_ram": diff --git a/scripts/sanitycheck b/scripts/sanitycheck index 603e25a6515..e5f522b1636 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -1172,7 +1172,7 @@ testcase_valid_keys = {"tags": {"type": "set", "required": False}, "toolchain_whitelist": {"type": "set"}, "filter": {"type": "str"}, "harness": {"type": "str"}, - "harness_config": {"type": "map"} + "harness_config": {"type": "map", "default": {}} }