summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/check.py b/check.py
index 3d9c1f687..f48671825 100755
--- a/check.py
+++ b/check.py
@@ -119,7 +119,9 @@ def run_wasm_opt_tests():
for module, asserts in support.split_wast(t):
assert len(asserts) == 0
support.write_wast('split.wast', module)
- cmd = shared.WASM_OPT + opts + ['split.wast', '--print']
+ cmd = shared.WASM_OPT + opts + ['split.wast']
+ if 'noprint' not in t:
+ cmd.append('--print')
curr = support.run_command(cmd)
actual += curr
# also check debug mode output is valid