summaryrefslogtreecommitdiff
path: root/test/find_exe.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/find_exe.py')
-rw-r--r--test/find_exe.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/find_exe.py b/test/find_exe.py
index 5bc919a6..8bc19d41 100644
--- a/test/find_exe.py
+++ b/test/find_exe.py
@@ -26,7 +26,7 @@ REPO_ROOT_DIR = os.path.dirname(SCRIPT_DIR)
EXECUTABLES = [
'wat2wasm', 'wast2json', 'wasm2wat', 'wasm-objdump', 'wasm-interp',
'wasm-opcodecnt', 'wat-desugar', 'wasm-link', 'spectest-interp',
- 'wasm-validate',
+ 'wasm-validate', 'wasm2c',
]
@@ -103,3 +103,7 @@ def GetWatDesugarExecutable(override=None):
def GetWasmValidateExecutable(override=None):
return FindExecutable('wasm-validate', override)
+
+
+def GetWasm2CExecutable(override=None):
+ return FindExecutable('wasm2c', override)