aboutsummaryrefslogtreecommitdiff
path: root/verif/frameworks/tosa_verif_framework_compiler_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'verif/frameworks/tosa_verif_framework_compiler_runner.py')
-rwxr-xr-xverif/frameworks/tosa_verif_framework_compiler_runner.py3
1 files changed, 2 insertions, 1 deletions
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