summaryrefslogtreecommitdiff
path: root/test/run-wasm-link.py
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-05-23 12:00:43 -0700
committerGitHub <noreply@github.com>2017-05-23 12:00:43 -0700
commit6f21c9537c59321ac9b3b7a8368e346573b02dfc (patch)
tree0c0038826b78170429ec2e05f0293634e6e6c01b /test/run-wasm-link.py
parent9b1a28c074d5a5c5f2151a26ac169764677b416d (diff)
downloadwabt-6f21c9537c59321ac9b3b7a8368e346573b02dfc.tar.gz
wabt-6f21c9537c59321ac9b3b7a8368e346573b02dfc.tar.bz2
wabt-6f21c9537c59321ac9b3b7a8368e346573b02dfc.zip
Add debug names to wasm-link tests (#452)
Also, have wasmdump list debug names for function table elements. These changes make it easier to interpret the wasm-link test outputs.
Diffstat (limited to 'test/run-wasm-link.py')
-rwxr-xr-xtest/run-wasm-link.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run-wasm-link.py b/test/run-wasm-link.py
index 83d4d787..1c98aa40 100755
--- a/test/run-wasm-link.py
+++ b/test/run-wasm-link.py
@@ -87,8 +87,8 @@ def main(args):
basename = os.path.basename(filename)
basename_noext = os.path.splitext(basename)[0]
out_file = os.path.join(out_dir, basename_noext + '.json')
- wast2wasm.RunWithArgs('--spec', '--no-check', '-r', '-o', out_file,
- filename)
+ wast2wasm.RunWithArgs('--spec', '--debug-names', '--no-check', '-r', '-o',
+ out_file, filename)
wasm_files = utils.GetModuleFilenamesFromSpecJSON(out_file)
wasm_files = [utils.ChangeDir(f, out_dir) for f in wasm_files]