summaryrefslogtreecommitdiff
path: root/test/run-gen-wasm.py
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-09-08 00:17:38 -0700
committerGitHub <noreply@github.com>2017-09-08 00:17:38 -0700
commit0ecaaacb27d03a1aafc40397740f9bdd04bf8d73 (patch)
tree3fb78816e22471bcbc92982581f7b81fef1136c6 /test/run-gen-wasm.py
parentfe2cdc7f0f7633f7a14c5ea9952f5de9f5c17fad (diff)
downloadwabt-0ecaaacb27d03a1aafc40397740f9bdd04bf8d73.tar.gz
wabt-0ecaaacb27d03a1aafc40397740f9bdd04bf8d73.tar.bz2
wabt-0ecaaacb27d03a1aafc40397740f9bdd04bf8d73.zip
Rename wasm2wast -> wasm2wat (#616)
See issue #543.
Diffstat (limited to 'test/run-gen-wasm.py')
-rwxr-xr-xtest/run-gen-wasm.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/run-gen-wasm.py b/test/run-gen-wasm.py
index 24c8b198..4b1aa8aa 100755
--- a/test/run-gen-wasm.py
+++ b/test/run-gen-wasm.py
@@ -59,16 +59,16 @@ def main(args):
find_exe.GetWasmdumpExecutable(options.bindir),
error_cmdline=options.error_cmdline)
- wasm2wast = utils.Executable(
- find_exe.GetWasm2WastExecutable(options.bindir),
+ wasm2wat = utils.Executable(
+ find_exe.GetWasm2WatExecutable(options.bindir),
error_cmdline=options.error_cmdline)
- wasm2wast.AppendOptionalArgs({
+ wasm2wat.AppendOptionalArgs({
'--no-debug-names': options.no_debug_names,
})
- wasm2wast.AppendOptionalArgs({'--verbose': options.verbose,})
+ wasm2wat.AppendOptionalArgs({'--verbose': options.verbose,})
gen_wasm.verbose = options.print_cmd
- wasm2wast.verbose = options.print_cmd
+ wasm2wat.verbose = options.print_cmd
objdump.verbose = options.print_cmd
with utils.TempDirectory(options.out_dir, 'run-gen-wasm-') as out_dir:
@@ -77,7 +77,7 @@ def main(args):
if options.objdump:
objdump.RunWithArgs(out_file, '-x')
else:
- wasm2wast.RunWithArgs(out_file)
+ wasm2wat.RunWithArgs(out_file)
if __name__ == '__main__':