summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_asyncify.py2
-rw-r--r--test/unit/test_passes.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/test_asyncify.py b/test/unit/test_asyncify.py
index 81763b051..c9e0364be 100644
--- a/test/unit/test_asyncify.py
+++ b/test/unit/test_asyncify.py
@@ -15,7 +15,7 @@ class AsyncifyTest(utils.BinaryenTestCase):
shared.run_process(shared.WASM_OPT + args + [self.input_path('asyncify-stackOverflow.wat'), '--asyncify', '-o', 'c.wasm'])
print(' file size: %d' % os.path.getsize('a.wasm'))
if shared.NODEJS:
- shared.run_process([shared.NODEJS, self.input_path('asyncify.js')])
+ shared.run_process([shared.NODEJS, self.input_path('asyncify.js')], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
test(['-g'])
test([])
diff --git a/test/unit/test_passes.py b/test/unit/test_passes.py
index 5f91afa92..838f1d2f7 100644
--- a/test/unit/test_passes.py
+++ b/test/unit/test_passes.py
@@ -13,7 +13,6 @@ class PassesTest(utils.BinaryenTestCase):
hello_wat = self.input_path('hello_world.wat')
log = shared.run_process(shared.WASM_OPT + [hello_wat] + args,
stderr=subprocess.PIPE).stderr
- print(log)
passes = re.findall(r'running pass: ([\w-]+)\.\.\.', log)
return passes
finally: