/Zephyr-latest/scripts/tests/twister/ |
D | test_twister.py | 31 @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 …]
|
D | test_config_parser.py | 64 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')
|
D | test_scl.py | 198 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.')
|
D | README.md | 54 …er.py : Contains basic testcases for environment variables, verifying testcase & platform schema's.
|
/Zephyr-latest/scripts/schemas/ |
D | soc-schema.yml | 5 ## 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 …]
|
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
|
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
|
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
|
D | arch-schema.yml | 5 ## A pykwalify schema for basic validation of the structure of a
|
D | build-schema.yml | 5 # A pykwalify schema for basic validation of the Zephyr build info YAML file.
|
/Zephyr-latest/scripts/pylib/twister/ |
D | scl.py | 46 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/ |
D | platform-schema.yaml | 2 # Schema to validate a YAML file describing a Zephyr test platform 12 schema;platform-schema: 20 include: platform-schema 126 include: platform-schema
|
D | testsuite-schema.yaml | 2 # Schema to validate a YAML file describing a Zephyr test platform 11 schema;scenario-schema: 229 include: scenario-schema 253 include: scenario-schema
|
D | test-config-schema.yaml | 2 # Schema to validate a YAML file describing a Zephyr test configuration.
|
D | quarantine-schema.yaml | 2 # Schema to validate a YAML file providing the list of configurations
|
/Zephyr-latest/scripts/pylib/build_helpers/ |
D | domains.py | 18 ## 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/ |
D | bindings.rst | 13 dt-schema tools used by the Linux kernel).
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | config_parser.py | 87 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/ |
D | release-notes.rst | 124 - 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/ |
D | main_functions.cpp | 26 #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/ |
D | main_functions.cpp | 27 #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/ |
D | inference_process.cpp | 14 #include <tensorflow/lite/schema/schema_generated.h> 115 printk("Model schema version unsupported: version=%" PRIu32 ", supported=%d.\n", in runJob()
|
/Zephyr-latest/scripts/ |
D | snippets.py | 184 # 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/ |
D | mipi_syst.py | 19 https://www.mipi.org/schema/sys-t/sys-t_1-0.xsd">
|
/Zephyr-latest/dts/bindings/pinctrl/ |
D | pincfg-node.yaml | 5 Generic pin configuration schema
|