diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-26 18:37:28 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-26 19:49:45 -0700 |
commit | 7fd8aac5084223c48901ca20f9d233e9764d536a (patch) | |
tree | 4353e96409ec70da7147488774cfb5efde7011c1 | |
parent | f9e69902fbe143f72251721a305bd1f2466154e8 (diff) | |
download | binaryen-7fd8aac5084223c48901ca20f9d233e9764d536a.tar.gz binaryen-7fd8aac5084223c48901ca20f9d233e9764d536a.tar.bz2 binaryen-7fd8aac5084223c48901ca20f9d233e9764d536a.zip |
do not ignore stderr in binary format check tests
-rwxr-xr-x | check.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() |