diff options
author | Ben Smith <binji@chromium.org> | 2016-05-09 17:24:01 -0700 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2016-05-10 11:38:41 -0700 |
commit | 7805eab628a666979f2f95b0bcc93ab4c60da818 (patch) | |
tree | 656d147f173d4181e5c37b50ce1ada4f11870f17 /test/find_exe.py | |
parent | 52223631265a9436e3751f0a037d68e16fcbd9fc (diff) | |
download | wabt-7805eab628a666979f2f95b0bcc93ab4c60da818.tar.gz wabt-7805eab628a666979f2f95b0bcc93ab4c60da818.tar.bz2 wabt-7805eab628a666979f2f95b0bcc93ab4c60da818.zip |
update run-tests.py/other scripts for SM support
Diffstat (limited to 'test/find_exe.py')
-rw-r--r-- | test/find_exe.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/find_exe.py b/test/find_exe.py index 4ef2b9db..0e73c841 100644 --- a/test/find_exe.py +++ b/test/find_exe.py @@ -27,6 +27,9 @@ DEFAULT_SEXPR_WASM_EXE = os.path.join(REPO_ROOT_DIR, 'out', 'sexpr-wasm') 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') +BUILT_SM_EXE = os.path.join(REPO_ROOT_DIR, 'third_party', 'gecko-dev', 'js', + 'src', 'build_OPT.OBJ', 'js', 'src', 'js') +DOWNLOAD_SM_EXE = os.path.join(REPO_ROOT_DIR, 'out', 'js') 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') @@ -35,6 +38,8 @@ if IS_WINDOWS: DEFAULT_SEXPR_WASM_EXE += '.exe' BUILT_D8_EXE += '.exe' DOWNLOAD_D8_EXE += '.exe' + BUILT_SM_EXE += '.exe' + DOWNLOAD_SM_EXE += '.exe' DEFAULT_WASM_WAST_EXE += '.exe' DEFAULT_WASM_INTERP_EXE += '.exe' @@ -67,5 +72,6 @@ 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) +def GetJSExecutable(override=None): + return FindExeWithFallback('js', + [BUILT_D8_EXE, BUILT_SM_EXE, DOWNLOAD_D8_EXE, DOWNLOAD_SM_EXE], override) |