summaryrefslogtreecommitdiff
path: root/test/run-opcodecnt.py
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-05-25 13:52:24 -0700
committerGitHub <noreply@github.com>2017-05-25 13:52:24 -0700
commit261df56ff70732a19d1211ca98c358de2fc22d57 (patch)
tree2c2ba2fe2ca43e208391cc5655278ff124986c33 /test/run-opcodecnt.py
parentcfcdab032b9fc3f16f9b6259de4ebc509e269def (diff)
downloadwabt-261df56ff70732a19d1211ca98c358de2fc22d57.tar.gz
wabt-261df56ff70732a19d1211ca98c358de2fc22d57.tar.bz2
wabt-261df56ff70732a19d1211ca98c358de2fc22d57.zip
Rename wasmdump to wasm-objdump (#455)
This is more consistent with how llvm and binutils name such tools.
Diffstat (limited to 'test/run-opcodecnt.py')
-rw-r--r--test/run-opcodecnt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/run-opcodecnt.py b/test/run-opcodecnt.py
index 7611c96d..c7d33dbe 100644
--- a/test/run-opcodecnt.py
+++ b/test/run-opcodecnt.py
@@ -52,17 +52,17 @@ def main(args):
'-v': options.verbose,
})
- wasmopcodecnt = utils.Executable(
+ wasm_opcodecnt = utils.Executable(
find_exe.GetWasmOpcodeCntExecutable(options.bindir),
error_cmdline=options.error_cmdline)
wast2wasm.verbose = options.print_cmd
- wasmopcodecnt.verbose = options.print_cmd
+ wasm_opcodecnt.verbose = options.print_cmd
with utils.TempDirectory(options.out_dir, 'run-opcodecnt-') as out_dir:
out_file = utils.ChangeDir(utils.ChangeExt(options.file, '.wasm'), out_dir)
wast2wasm.RunWithArgs(options.file, '-o', out_file)
- wasmopcodecnt.RunWithArgs(out_file)
+ wasm_opcodecnt.RunWithArgs(out_file)
return 0