diff options
author | Ben Smith <binjimin@gmail.com> | 2017-10-03 10:28:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 10:28:34 -0700 |
commit | 0e08c4974e614e05ecb72f25df07c04ff02b1ad0 (patch) | |
tree | bd52ec46e8aff4140935205b349c1889d0d04108 /test/find_exe.py | |
parent | b10a3ab9187003f9e8ba84ef714821227981e77b (diff) | |
download | wabt-0e08c4974e614e05ecb72f25df07c04ff02b1ad0.tar.gz wabt-0e08c4974e614e05ecb72f25df07c04ff02b1ad0.tar.bz2 wabt-0e08c4974e614e05ecb72f25df07c04ff02b1ad0.zip |
Add spectest-interp tool; split from wasm-interp (#643)
* `wasm-interp` tool now only runs `.wasm` file, not spec tests
* `wasm-interp` has a new flag `--host-print` for importing a print
function named "host.print"
* `spectest-interp` tool runs only `.json` files
Diffstat (limited to 'test/find_exe.py')
-rw-r--r-- | test/find_exe.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/find_exe.py b/test/find_exe.py index c0b8a95c..e75379a9 100644 --- a/test/find_exe.py +++ b/test/find_exe.py @@ -25,7 +25,7 @@ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) REPO_ROOT_DIR = os.path.dirname(SCRIPT_DIR) EXECUTABLES = [ 'wat2wasm', 'wast2json', 'wasm2wat', 'wasm-objdump', 'wasm-interp', - 'wasm-opcodecnt', 'wat-desugar', 'wasm-link' + 'wasm-opcodecnt', 'wat-desugar', 'wasm-link', 'spectest-interp', ] @@ -88,6 +88,10 @@ def GetWasmInterpExecutable(override=None): return FindExecutable('wasm-interp', override) +def GetSpectestInterpExecutable(override=None): + return FindExecutable('spectest-interp', override) + + def GetWasmOpcodeCntExecutable(override=None): return FindExecutable('wasm-opcodecnt', override) |