Searched refs:schema (Results 1 – 16 of 16) sorted by relevance
| /scripts/tests/twister/ |
| A D | test_twister.py | 34 def test_correct_schema(filename, schema, test_data): argument 37 schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/schemas/twister//' + schema) 38 data = TwisterConfigParser(filename, schema) 46 def test_incorrect_schema(filename, schema, test_data): argument 49 schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/schemas/twister//' + schema) 51 scl.yaml_load_verify(filename, schema) 57 schema = scl.yaml_load(Path(ZEPHYR_BASE) / "scripts/schemas/twister/testsuite-schema.yaml") 58 data = TwisterConfigParser(filename, schema)
|
| A D | test_scl.py | 198 def mock_validate(data, schema, *args, **kwargs): argument 200 assert schema == schema_mock
|
| A D | README.md | 54 …er.py : Contains basic testcases for environment variables, verifying testcase & platform schema's.
|
| /scripts/schemas/ |
| A D | snippet-schema.yml | 5 # A pykwalify schema for basic validation of the snippet.yml format. 7 schema;append-schema: 8 # Sub-schema for appending onto CMake list variables. 33 include: append-schema 49 include: append-schema
|
| A D | soc-schema.yml | 10 schema;cpucluster-schema: 20 schema;soc-schema: 30 include: cpucluster-schema 32 schema;soc-extend-schema: 45 include: cpucluster-schema 47 schema;series-schema: 58 include: soc-schema 72 include: series-schema 74 include: soc-schema 76 include: series-schema [all …]
|
| A D | shield-schema.yml | 5 # A pykwalify schema for basic validation of the structure of a shield metadata YAML file. 9 schema;shield-schema: 36 include: shield-schema 40 - include: shield-schema
|
| A D | board-schema.yml | 5 ## A pykwalify schema for basic validation of the structure of a 10 schema;variant-schema: 24 include: variant-schema 26 schema;extend-variant-schema: 39 schema;board-schema: 91 include: variant-schema 93 include: extend-variant-schema 98 include: board-schema 102 - include: board-schema
|
| A D | patch-schema.yml | 5 # A pykwalify schema for basic validation of the patches.yml format. 7 # The schema for individual patch objects 8 schema;patch-schema: 99 # The top-level schema for patches.yml files 105 include: patch-schema
|
| A D | arch-schema.yml | 5 ## A pykwalify schema for basic validation of the structure of a
|
| A D | build-schema.yml | 5 # A pykwalify schema for basic validation of the Zephyr build info YAML file.
|
| /scripts/pylib/twister/ |
| A D | scl.py | 61 def _yaml_validate(data, schema): argument 62 if not schema: 64 c = pykwalify.core.Core(source_data=data, schema_data=schema) 69 def _yaml_validate(data, schema): argument 72 def yaml_load_verify(filename, schema): argument 88 _yaml_validate(y, schema)
|
| /scripts/schemas/twister/ |
| A D | platform-schema.yaml | 12 schema;platform-schema: 20 include: platform-schema 127 include: platform-schema
|
| A D | testsuite-schema.yaml | 11 schema;scenario-schema: 276 include: scenario-schema 300 include: scenario-schema
|
| /scripts/pylib/build_helpers/ |
| A D | domains.py | 50 schema = yaml.safe_load(DOMAINS_SCHEMA) variable 65 schema_data=schema).validate()
|
| /scripts/pylib/twister/twisterlib/ |
| A D | config_parser.py | 93 def __init__(self, filename: str, schema: dict[str, Any]) -> None: 98 self.schema = schema 105 data = scl.yaml_load_verify(self.filename, self.schema)
|
| /scripts/ |
| A D | zephyr_module.py | 199 schema = yaml.load(METADATA_SCHEMA, Loader=SafeLoader) variable 226 pykwalify.core.Core(source_data=meta, schema_data=schema)\
|
Completed in 25 milliseconds