Home
last modified time | relevance | path

Searched refs:schema (Results 1 – 16 of 16) sorted by relevance

/scripts/tests/twister/
A Dtest_twister.py34 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 Dtest_scl.py198 def mock_validate(data, schema, *args, **kwargs): argument
200 assert schema == schema_mock
A DREADME.md54 …er.py : Contains basic testcases for environment variables, verifying testcase & platform schema's.
/scripts/schemas/
A Dsnippet-schema.yml5 # 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 Dsoc-schema.yml10 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 Dshield-schema.yml5 # 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 Dboard-schema.yml5 ## 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 Dpatch-schema.yml5 # 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 Darch-schema.yml5 ## A pykwalify schema for basic validation of the structure of a
A Dbuild-schema.yml5 # A pykwalify schema for basic validation of the Zephyr build info YAML file.
/scripts/pylib/twister/
A Dscl.py61 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 Dplatform-schema.yaml12 schema;platform-schema:
20 include: platform-schema
127 include: platform-schema
A Dtestsuite-schema.yaml11 schema;scenario-schema:
276 include: scenario-schema
300 include: scenario-schema
/scripts/pylib/build_helpers/
A Ddomains.py50 schema = yaml.safe_load(DOMAINS_SCHEMA) variable
65 schema_data=schema).validate()
/scripts/pylib/twister/twisterlib/
A Dconfig_parser.py93 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 Dzephyr_module.py199 schema = yaml.load(METADATA_SCHEMA, Loader=SafeLoader) variable
226 pykwalify.core.Core(source_data=meta, schema_data=schema)\

Completed in 25 milliseconds