summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-26 20:06:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-26 20:06:40 -0700
commit206338a6c4e3f9739abd7a2ad082d1770b3a628f (patch)
tree817992a1e811af71087a228b20f3c35df9485b96 /check.py
parentdd778824cfc60c4478bbe7690769f444dad92803 (diff)
parentd9096704dfa84aea94bb6ac2ffa02d88fa546bfa (diff)
downloadbinaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.tar.gz
binaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.tar.bz2
binaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.zip
Prep for arena vectors
Arena vectors
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/check.py b/check.py
index 025fc60e9..d405cd287 100755
--- a/check.py
+++ b/check.py
@@ -212,19 +212,19 @@ def binary_format_check(wast, verify_final_result=True):
cmd = [os.path.join('bin', 'wasm-as'), wast, '-o', 'a.wasm']
print ' ', ' '.join(cmd)
if os.path.exists('a.wasm'): os.unlink('a.wasm')
- subprocess.check_call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ subprocess.check_call(cmd, stdout=subprocess.PIPE)
assert os.path.exists('a.wasm')
cmd = [os.path.join('bin', 'wasm-dis'), 'a.wasm', '-o', 'ab.wast']
print ' ', ' '.join(cmd)
if os.path.exists('ab.wast'): os.unlink('ab.wast')
- subprocess.check_call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ subprocess.check_call(cmd, stdout=subprocess.PIPE)
assert os.path.exists('ab.wast')
# make sure it is a valid wast
cmd = [os.path.join('bin', 'binaryen-shell'), 'ab.wast']
print ' ', ' '.join(cmd)
- subprocess.check_call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ subprocess.check_call(cmd, stdout=subprocess.PIPE)
if verify_final_result:
expected = open(wast + '.fromBinary').read()