diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-02-23 12:15:03 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-03-02 16:45:28 +0000 |
commit | 015c3550301fdc6d37606995322e144df0940ba2 (patch) | |
tree | f51448044ea8262f36aa964ce4b769406bb2cb7e /verif/runner/tosa_refmodel_sut_run.py | |
parent | c0fe04d4105884b61b5eeca4c0a932846a77b6e2 (diff) | |
download | reference_model-015c3550301fdc6d37606995322e144df0940ba2.tar.gz |
Add framework unit test generation scripts
And fixes in tosa_verif_run_tests:
* support for no-color printing
* stop double printing of error messages on verbose
* differentiate result code pass from results check
Change-Id: I26e957013a8d18f7d3d3691067dfb778008a1eea
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Diffstat (limited to 'verif/runner/tosa_refmodel_sut_run.py')
-rw-r--r-- | verif/runner/tosa_refmodel_sut_run.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/verif/runner/tosa_refmodel_sut_run.py b/verif/runner/tosa_refmodel_sut_run.py index b9a9575..2aeb7b1 100644 --- a/verif/runner/tosa_refmodel_sut_run.py +++ b/verif/runner/tosa_refmodel_sut_run.py @@ -58,12 +58,8 @@ class TosaSUTRunner(TosaTestRunner): graphResult = TosaTestRunner.TosaGraphResult.TOSA_UNPREDICTABLE else: graphResult = TosaTestRunner.TosaGraphResult.OTHER_ERROR - if ( - self.args.verbose - or graphResult == TosaTestRunner.TosaGraphResult.OTHER_ERROR - ): - print(e) - + if not self.args.verbose: + print(e) except Exception as e: print(e) graphMessage = str(e) |