From f0348ea4206a7e02497515ffb6d88546e0121cc7 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Wed, 27 Sep 2023 16:10:59 +0100 Subject: Refactor path arguments to tosa-tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Jeremy Johnson --- verif/runner/tosa_refmodel_sut_run.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'verif/runner/tosa_refmodel_sut_run.py') diff --git a/verif/runner/tosa_refmodel_sut_run.py b/verif/runner/tosa_refmodel_sut_run.py index 7b129da..419f87b 100644 --- a/verif/runner/tosa_refmodel_sut_run.py +++ b/verif/runner/tosa_refmodel_sut_run.py @@ -1,5 +1,5 @@ """TOSA test runner module for the Reference Model.""" -# Copyright (c) 2020-2022, ARM Limited. +# Copyright (c) 2020-2023, ARM Limited. # SPDX-License-Identifier: Apache-2.0 from enum import IntEnum from enum import unique @@ -33,10 +33,10 @@ class TosaSUTRunner(TosaTestRunner): # Call Reference model with description file to provide all file details cmd = [ - args.ref_model_path, - "--tosa_level={}".format(args.tosa_level), - "--operator_fbs={}".format(args.operator_fbs), - "--test_desc={}".format(self.descFile), + str(args.ref_model_path), + f"--tosa_level={args.tosa_level}", + f"--operator_fbs={str(args.schema_path)}", + f"--test_desc={self.descFile}", ] # Specific debug options for reference model -- cgit v1.2.1