diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-01-14 13:28:01 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-01-14 13:28:01 -0800 |
commit | af146aa19fa7ebee5b7def5fdf3c61b225857be4 (patch) | |
tree | 0686f103986bedfa2602dc22a7eef09b4568495a | |
parent | 3c1b7750e9ba8e0c6205b305890d973948ff4fae (diff) | |
download | binaryen-af146aa19fa7ebee5b7def5fdf3c61b225857be4.tar.gz binaryen-af146aa19fa7ebee5b7def5fdf3c61b225857be4.tar.bz2 binaryen-af146aa19fa7ebee5b7def5fdf3c61b225857be4.zip |
enable binary format testing
-rwxr-xr-x | check.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -290,11 +290,11 @@ for wast in tests: subprocess.check_call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) assert os.path.exists('a.wasm') - #cmd = [os.path.join('bin', 'wasm-dis'), 'a.wasm', '-o', 'a.wast'] - #print ' '.join(cmd) - #if os.path.exists('a.wast'): os.unlink('a.wast') - #subprocess.check_call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - #assert os.path.exists('a.wast') + cmd = [os.path.join('bin', 'wasm-dis'), 'a.wasm', '-o', 'a.wast'] + print ' '.join(cmd) + if os.path.exists('a.wast'): os.unlink('a.wast') + subprocess.check_call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + assert os.path.exists('a.wast') print '\n[ checking example testcases... ]\n' |