summaryrefslogtreecommitdiff
path: root/scripts/test/wasm2js.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test/wasm2js.py')
-rw-r--r--scripts/test/wasm2js.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py
index 7fdd8eb94..ea299e4ed 100644
--- a/scripts/test/wasm2js.py
+++ b/scripts/test/wasm2js.py
@@ -13,6 +13,7 @@
# limitations under the License.
import os
+import subprocess
from . import shared
from . import support
@@ -90,7 +91,7 @@ def test_wasm2js_output():
cmd += ['--allow-asserts']
js = support.run_command(cmd)
# also verify it passes pass-debug verifications
- shared.with_pass_debug(lambda: support.run_command(cmd))
+ shared.with_pass_debug(lambda: support.run_command(cmd, stderr=subprocess.PIPE))
open('a.2asm.asserts.mjs', 'w').write(js)