diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test/wasm2js.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py index 5b83e1b21..396c26481 100755 --- a/scripts/test/wasm2js.py +++ b/scripts/test/wasm2js.py @@ -59,7 +59,7 @@ def test_wasm2js_output(): with open('split.wast', 'w') as o: o.write(module + '\n'.join(asserts)) - cmd = WASM2JS + ['split.wast'] + cmd = WASM2JS + ['split.wast', '-O'] if 'emscripten' in wasm: cmd += ['--emscripten'] out = run_command(cmd) @@ -150,7 +150,7 @@ def update_wasm2js_tests(): with open('split.wast', 'w') as o: o.write(module + '\n'.join(asserts)) - cmd = WASM2JS + ['split.wast'] + cmd = WASM2JS + ['split.wast', '-O'] if 'emscripten' in wasm: cmd += ['--emscripten'] out = run_command(cmd) |