Home
last modified time | relevance | path

Searched full:schema (Results 1 – 25 of 49) sorted by relevance

12

/Zephyr-latest/scripts/tests/twister/
Dtest_twister.py31 @pytest.mark.parametrize("filename, schema",
32 [("testsuite_correct_schema.yaml", "testsuite-schema.yaml"),
33 ("platform_correct_schema.yaml", "platform-schema.yaml")])
34 def test_correct_schema(filename, schema, test_data): argument
35 """ Test to validate the testsuite schema"""
37 schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/schemas/twister//' + schema)
38 data = TwisterConfigParser(filename, schema)
43 @pytest.mark.parametrize("filename, schema",
44 [("testsuite_incorrect_schema.yaml", "testsuite-schema.yaml"),
45 ("platform_incorrect_schema.yaml", "platform-schema.yaml")])
[all …]
Dtest_config_parser.py64 os.path.join(zephyr_base, 'scripts', 'schemas','twister', 'testsuite-schema.yaml')
90 os.path.join(zephyr_base, 'scripts', 'schemas', 'twister','testsuite-schema.yaml')
152 os.path.join(zephyr_base, 'scripts', 'schemas', 'twister','testsuite-schema.yaml')
173 os.path.join(zephyr_base, 'scripts', 'schemas','twister', 'test-config-schema.yaml')
192 os.path.join(zephyr_base, 'scripts', 'schemas','twister', 'testsuite-schema.yaml')
Dtest_scl.py198 def mock_validate(data, schema, *args, **kwargs): argument
200 assert schema == schema_mock
203 raise SchemaError(u'Schema validation failed.')
223 ids=['successful validation', 'failed validation', 'no schema']
233 raise SchemaError(u'Schema validation failed.')
DREADME.md54 …er.py : Contains basic testcases for environment variables, verifying testcase & platform schema's.
/Zephyr-latest/scripts/schemas/
Dsoc-schema.yml5 ## A pykwalify schema for basic validation of the structure of a SoC
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
[all …]
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
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
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
Darch-schema.yml5 ## A pykwalify schema for basic validation of the structure of a
Dbuild-schema.yml5 # A pykwalify schema for basic validation of the Zephyr build info YAML file.
/Zephyr-latest/scripts/pylib/twister/
Dscl.py46 except yaml.scanner.ScannerError as e: # For errors parsing schema.yaml
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
75 against the YAML schema, returning in case of success the YAML data.
78 :param dict schema: loaded YAML schema (can load with :func:`yaml_load`)
82 :raises pykwalify.errors.SchemaError: on Schema violation error
88 _yaml_validate(y, schema)
/Zephyr-latest/scripts/schemas/twister/
Dplatform-schema.yaml2 # Schema to validate a YAML file describing a Zephyr test platform
12 schema;platform-schema:
20 include: platform-schema
126 include: platform-schema
Dtestsuite-schema.yaml2 # Schema to validate a YAML file describing a Zephyr test platform
11 schema;scenario-schema:
229 include: scenario-schema
253 include: scenario-schema
Dtest-config-schema.yaml2 # Schema to validate a YAML file describing a Zephyr test configuration.
Dquarantine-schema.yaml2 # Schema to validate a YAML file providing the list of configurations
/Zephyr-latest/scripts/pylib/build_helpers/
Ddomains.py18 ## A pykwalify schema for basic validation of the structure of a
50 schema = yaml.safe_load(DOMAINS_SCHEMA) variable
65 schema_data=schema).validate()
/Zephyr-latest/doc/build/dts/
Dbindings.rst13 dt-schema tools used by the Linux kernel).
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dconfig_parser.py87 def __init__(self, filename, schema): argument
93 self.schema = schema
99 data = scl.yaml_load_verify(self.filename, self.schema)
/Zephyr-latest/doc/develop/west/
Drelease-notes.rst124 - Manifest schema version "1.0" is now available for use in this release. This
125 is identical to the "0.13" schema version in terms of features, but can be
127 field. See :ref:`west-manifest-schema-version` for details on this feature.
438 - West now checks that the manifest schema version is one of the explicitly
439 allowed values documented in :ref:`west-manifest-schema-version`. The old
440 behavior was just to check that the schema version was newer than the west
442 allowed invalid schema versions, like ``0.8.2``.
457 :ref:`west-manifest-schema-version` for more information on schema versions.
553 This is a feature release which changes the manifest schema by adding support
615 - West manifests now support a :ref:`schema version
[all …]
/Zephyr-latest/samples/modules/tflite-micro/hello_world/src/
Dmain_functions.cpp26 #include <tensorflow/lite/schema/schema_generated.h>
48 MicroPrintf("Model provided is schema version %d not equal " in setup()
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/
Dmain_functions.cpp27 #include <tensorflow/lite/schema/schema_generated.h>
52 MicroPrintf("Model provided is schema version %d not equal " in setup()
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/
Dinference_process.cpp14 #include <tensorflow/lite/schema/schema_generated.h>
115 printk("Model schema version unsupported: version=%" PRIu32 ", supported=%d.\n", in runJob()
/Zephyr-latest/scripts/
Dsnippets.py184 # Name of the file containing the pykwalify schema for snippet.yml
186 SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'snippet-schema.yml')
290 against the schema, and do other basic checks. Return the dict
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Dmipi_syst.py19 https://www.mipi.org/schema/sys-t/sys-t_1-0.xsd">
/Zephyr-latest/dts/bindings/pinctrl/
Dpincfg-node.yaml5 Generic pin configuration schema

12