summaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test')
-rw-r--r--scripts/test/shared.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/test/shared.py b/scripts/test/shared.py
index 227b7b65e..8309d9b5c 100644
--- a/scripts/test/shared.py
+++ b/scripts/test/shared.py
@@ -399,7 +399,7 @@ def binary_format_check(wast, verify_final_result=True, wasm_as_args=['-g'],
assert os.path.exists('ab.wast')
# make sure it is a valid wast
- cmd = WASM_OPT + ['ab.wast']
+ cmd = WASM_OPT + ['ab.wast', '-all']
print ' ', ' '.join(cmd)
subprocess.check_call(cmd, stdout=subprocess.PIPE)
@@ -414,12 +414,12 @@ def minify_check(wast, verify_final_result=True):
# checks we can parse minified output
print ' (minify check)'
- cmd = WASM_OPT + [wast, '--print-minified']
+ cmd = WASM_OPT + [wast, '--print-minified', '-all']
print ' ', ' '.join(cmd)
subprocess.check_call(cmd, stdout=open('a.wast', 'w'), stderr=subprocess.PIPE)
assert os.path.exists('a.wast')
subprocess.check_call(
- WASM_OPT + ['a.wast', '--print-minified'],
+ WASM_OPT + ['a.wast', '--print-minified', '-all'],
stdout=open('b.wast', 'w'), stderr=subprocess.PIPE)
assert os.path.exists('b.wast')
if verify_final_result: