diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-09-04 17:04:21 +0100 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-09-07 16:04:07 +0000 |
commit | 77fc614916c1afa506fccb0ff2e5260aae8608b6 (patch) | |
tree | a3b68a8c2375311f65446710e0e960c784f76dc3 /setup.cfg | |
parent | 7021ef064f7daeca260bb1f1bd61b5bbc6473aa5 (diff) | |
download | reference_model-77fc614916c1afa506fccb0ff2e5260aae8608b6.tar.gz |
Add desc.json schema validation with compliance/data_gen extensions
Rename scripts utlities to tosa_* such as tosa_json2numpy
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ie8d584e2afb189fb74cf96b39590c7c27444ba14
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -1,4 +1,4 @@ -# Copyright (c) 2021-2022 Arm Limited. +# Copyright (c) 2021-2023 Arm Limited. # SPDX-License-Identifier: Apache-2.0 [metadata] @@ -21,6 +21,7 @@ classifiers = install_requires = numpy flatbuffers == 23.5.26 + jsonschema python_requires = >=3.6 include_package_data = True packages = @@ -33,6 +34,7 @@ packages = xunit json2fbbin json2numpy + schemavalidation convert2conformance tosa serializer @@ -44,19 +46,25 @@ package_dir = convert2conformance = scripts/convert2conformance tosa = thirdparty/serialization_lib/python/tosa serializer = thirdparty/serialization_lib/python/serializer + schemavalidation = scripts/schemavalidation [options.entry_points] console_scripts = tosa_verif_run_ref = runner.tosa_verif_run_tests:main tosa_verif_run_tests = runner.tosa_verif_run_tests:main tosa_verif_build_tests = generator.tosa_verif_build_tests:main - json2numpy = json2numpy.json2numpy:main - json2fbbin = json2fbbin.json2fbbin:main + tosa_json2numpy = json2numpy.json2numpy:main + tosa_json2fbbin = json2fbbin.json2fbbin:main tosa_verif_result_check = checker.tosa_result_checker:main - convert2conformance = convert2conformance.convert2conformance:main + tosa_convert2conformance = convert2conformance.convert2conformance:main tosa_verif_framework_generator = frameworks.tosa_verif_framework_generator:main tosa_verif_framework_compiler_runner = frameworks.tosa_verif_framework_compiler_runner:main tosa_verif_conformance_generator = conformance.tosa_verif_conformance_generator:main + tosa_schemavalidation = schemavalidation.schemavalidation:main + +[options.package_data] +schemavalidation= + *.schema.json [tool:pytest] testpaths=verif/tests |