diff options
Diffstat (limited to 'scripts/test/wasm2js.py')
-rwxr-xr-x | scripts/test/wasm2js.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py index afa399da2..2892da278 100755 --- a/scripts/test/wasm2js.py +++ b/scripts/test/wasm2js.py @@ -52,6 +52,8 @@ def test_wasm2js_output(): print '..', wasm cmd = WASM2JS + [os.path.join(options.binaryen_test, wasm)] + if 'emscripten' in wasm: + cmd += ['--emscripten'] out = run_command(cmd) fail_if_not_identical_to_file(out, expected_file) @@ -129,6 +131,8 @@ def update_wasm2js_tests(): print '..', wasm cmd = WASM2JS + [os.path.join('test', wasm)] + if 'emscripten' in wasm: + cmd += ['--emscripten'] out = run_command(cmd) with open(expected_file, 'w') as o: o.write(out) |