aboutsummaryrefslogtreecommitdiff
path: root/verif/generator/tosa_error_if.py
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-11-06 17:46:02 +0000
committerEric Kunze <eric.kunze@arm.com>2023-11-16 21:24:23 +0000
commit2d70ac4c02808609feb357488dcd080bd6fc5ba5 (patch)
tree7038f213a79b4d2daa5cfcf35e7f1fec54218f3e /verif/generator/tosa_error_if.py
parenta4e5139312fbcbaedc998bfde6a0bb3479a388e6 (diff)
downloadreference_model-2d70ac4c02808609feb357488dcd080bd6fc5ba5.tar.gz
Main Compliance testing for simple UNARY ops
For RECIPROCAL, RSQRT, CEIL, FLOOR, ABS, NEGATE & IDENTITY. Improved ULP informational output. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I49644573b4c9a30b2b9d6c9624f2a1d46976a378
Diffstat (limited to 'verif/generator/tosa_error_if.py')
-rw-r--r--verif/generator/tosa_error_if.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/verif/generator/tosa_error_if.py b/verif/generator/tosa_error_if.py
index ed1a941..86be347 100644
--- a/verif/generator/tosa_error_if.py
+++ b/verif/generator/tosa_error_if.py
@@ -343,6 +343,9 @@ class TosaErrorValidator:
Returns:
True if the result matches the expected result; otherwise False
"""
+ if validator_fcns is None:
+ # Nothing to do
+ return True
overall_result = True
for val_fcn in validator_fcns:
val_result = val_fcn(True, **kwargs)