aboutsummaryrefslogtreecommitdiff
path: root/verif/tosa_verif_run_ref.py
diff options
context:
space:
mode:
authorLes Bell <les.bell@arm.com>2021-09-06 11:29:46 +0100
committerKevin Cheng <kevin.cheng@arm.com>2021-09-16 01:48:01 +0100
commitf414b3c9250d148c0a125e88967a1e9b603fa5e8 (patch)
tree71d6492672dd1508bbb731d071a5ba13d8461504 /verif/tosa_verif_run_ref.py
parent1533b85d198a1dd2b1ce995b6c9d69456e56eb3f (diff)
downloadreference_model-f414b3c9250d148c0a125e88967a1e9b603fa5e8.tar.gz
Generate more CONV3D tests
* plus extra debug info for some exceptions Change-Id: I667ee9b8a1cba8c6bd47c31231f1805eba680ba5 Signed-off-by: Les Bell <les.bell@arm.com>
Diffstat (limited to 'verif/tosa_verif_run_ref.py')
-rwxr-xr-xverif/tosa_verif_run_ref.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/verif/tosa_verif_run_ref.py b/verif/tosa_verif_run_ref.py
index e3926ea..3f23f6b 100755
--- a/verif/tosa_verif_run_ref.py
+++ b/verif/tosa_verif_run_ref.py
@@ -153,6 +153,14 @@ def workerThread(task_queue, runnerList, args, result_queue):
rc = runner.runModel()
except Exception as e:
rc = TosaTestRunner.Result.INTERNAL_ERROR
+ print(f"runner.runModel Exception: {e}")
+ print(
+ "".join(
+ traceback.format_exception(
+ etype=type(e), value=e, tb=e.__traceback__
+ )
+ )
+ )
except Exception as e:
print("Internal regression error: {}".format(e))
print(