summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-26 18:37:28 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-26 19:49:45 -0700
commit7fd8aac5084223c48901ca20f9d233e9764d536a (patch)
tree4353e96409ec70da7147488774cfb5efde7011c1
parentf9e69902fbe143f72251721a305bd1f2466154e8 (diff)
downloadbinaryen-7fd8aac5084223c48901ca20f9d233e9764d536a.tar.gz
binaryen-7fd8aac5084223c48901ca20f9d233e9764d536a.tar.bz2
binaryen-7fd8aac5084223c48901ca20f9d233e9764d536a.zip
do not ignore stderr in binary format check tests
-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()