diff options
author | Ben Smith <binjimin@gmail.com> | 2017-09-08 00:17:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-08 00:17:38 -0700 |
commit | 0ecaaacb27d03a1aafc40397740f9bdd04bf8d73 (patch) | |
tree | 3fb78816e22471bcbc92982581f7b81fef1136c6 /test/run-gen-wasm.py | |
parent | fe2cdc7f0f7633f7a14c5ea9952f5de9f5c17fad (diff) | |
download | wabt-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-x | test/run-gen-wasm.py | 12 |
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__': |