diff options
Diffstat (limited to 'test/find_exe.py')
-rw-r--r-- | test/find_exe.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/find_exe.py b/test/find_exe.py index a946388d..4ef2b9db 100644 --- a/test/find_exe.py +++ b/test/find_exe.py @@ -28,6 +28,7 @@ BUILT_D8_EXE = os.path.join(REPO_ROOT_DIR, 'third_party', 'v8', 'v8', 'out', 'Release', 'd8') DOWNLOAD_D8_EXE = os.path.join(REPO_ROOT_DIR, 'out', 'd8') DEFAULT_WASM_WAST_EXE = os.path.join(REPO_ROOT_DIR, 'out', 'wasm-wast') +DEFAULT_WASM_INTERP_EXE = os.path.join(REPO_ROOT_DIR, 'out', 'wasm-interp') if IS_WINDOWS: @@ -35,6 +36,7 @@ if IS_WINDOWS: BUILT_D8_EXE += '.exe' DOWNLOAD_D8_EXE += '.exe' DEFAULT_WASM_WAST_EXE += '.exe' + DEFAULT_WASM_INTERP_EXE += '.exe' def FindExeWithFallback(name, default_exe_list, override_exe=None): @@ -61,5 +63,9 @@ def GetWasmWastExecutable(override=None): return FindExeWithFallback('wasm-wast', [DEFAULT_WASM_WAST_EXE], override) +def GetWasmInterpExecutable(override=None): + return FindExeWithFallback('wasm-interp', [DEFAULT_WASM_INTERP_EXE], override) + + def GetD8Executable(override=None): return FindExeWithFallback('d8', [BUILT_D8_EXE, DOWNLOAD_D8_EXE], override) |