aboutsummaryrefslogtreecommitdiff
path: root/verif/tests/test_tosa_run_tests_args.py
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-09-27 16:10:59 +0100
committerEric Kunze <eric.kunze@arm.com>2023-09-28 18:27:41 +0000
commitf0348ea4206a7e02497515ffb6d88546e0121cc7 (patch)
tree35a003fdff5208864b6b85dff005ce0127ff649a /verif/tests/test_tosa_run_tests_args.py
parentf9c0ceea99e197ab14f779eb51c5e1479dbeb4dd (diff)
downloadreference_model-f0348ea4206a7e02497515ffb6d88546e0121cc7.tar.gz
Refactor path arguments to tosa-tools
tosa_verif_conformance_generator - Move to using ref-model-path instead of ref-model-dir - Add schema-path and flatc-path - Add model_files module to locate default places for files convert2conformance - Remove default paths verifier - Switch to using exact path of verifier library tosa_verif_run_tests - Use conformance model_files to locate defaults Change-Id: Ieca3b164670e2a7dcb047743667cc4e8317daa97 Signed-off-by: Josef Malmström <josef.malmstrom@arm.com> Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Diffstat (limited to 'verif/tests/test_tosa_run_tests_args.py')
-rw-r--r--verif/tests/test_tosa_run_tests_args.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/verif/tests/test_tosa_run_tests_args.py b/verif/tests/test_tosa_run_tests_args.py
index a0c3ed5..e6c5001 100644
--- a/verif/tests/test_tosa_run_tests_args.py
+++ b/verif/tests/test_tosa_run_tests_args.py
@@ -1,5 +1,5 @@
"""Tests for tosa_verif_run_tests.py."""
-# Copyright (c) 2021-2022, ARM Limited.
+# Copyright (c) 2021-2023, ARM Limited.
# SPDX-License-Identifier: Apache-2.0
from runner.tosa_verif_run_tests import parseArgs
@@ -15,7 +15,7 @@ def test_args_ref_model_path():
"""Test arguments - ref_model_path."""
args = ["--ref-model-path", "ref_model_path", "-t", "test"]
parsed_args = parseArgs(args)
- assert parsed_args.ref_model_path == "ref_model_path"
+ assert str(parsed_args.ref_model_path) == "ref_model_path"
def test_args_ref_debug():