aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatWai Chong <tatwai.chong@arm.com>2023-06-01 15:02:24 -0700
committerTatWai Chong <tatwai.chong@arm.com>2023-08-16 16:56:19 -0700
commite0247481eb1f83f6eb7161d3f7ac2690b180952a (patch)
treef330c42a31dd651c4f36f370ad3f90d59769b4a4
parenta641dd5598440e806fd1a09196a636de12ee2ce4 (diff)
downloadreference_model-e0247481eb1f83f6eb7161d3f7ac2690b180952a.tar.gz
Remove `"` from the search pattern `"tosa.*"`
The double quotation mark is not always appear in the assembly output of operations. Remove it to easier capture general printing pattern. Change-Id: I59301daa07abd905de7259f8ae527a74b1ce5a6c Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
m---------thirdparty/serialization_lib0
-rwxr-xr-xverif/frameworks/tosa_verif_framework_compiler_runner.py3
2 files changed, 2 insertions, 1 deletions
diff --git a/thirdparty/serialization_lib b/thirdparty/serialization_lib
-Subproject e2b20e4eb9e91d9fd4a155880f3bf6085b8ffaa
+Subproject 5f920211ac23393a7b98a0d358bfbfc3232d5c8
diff --git a/verif/frameworks/tosa_verif_framework_compiler_runner.py b/verif/frameworks/tosa_verif_framework_compiler_runner.py
index 848b1b4..972ea0a 100755
--- a/verif/frameworks/tosa_verif_framework_compiler_runner.py
+++ b/verif/frameworks/tosa_verif_framework_compiler_runner.py
@@ -510,7 +510,8 @@ def run_test(args, test_path, framework):
empty_graph = True
with open(tosa_mlir_filename, "r") as f:
for line in f:
- if re.search('"tosa.*"', line):
+ # TOSA assembly instructions all start with `tosa.`
+ if re.search(r"tosa\.", line):
empty_graph = False
break