diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-26 20:06:40 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-26 20:06:40 -0700 |
commit | 206338a6c4e3f9739abd7a2ad082d1770b3a628f (patch) | |
tree | 817992a1e811af71087a228b20f3c35df9485b96 /check.py | |
parent | dd778824cfc60c4478bbe7690769f444dad92803 (diff) | |
parent | d9096704dfa84aea94bb6ac2ffa02d88fa546bfa (diff) | |
download | binaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.tar.gz binaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.tar.bz2 binaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.zip |
Prep for arena vectors
Arena vectors
Diffstat (limited to 'check.py')
-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() |