summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-01-14 13:28:01 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-01-14 13:28:01 -0800
commitaf146aa19fa7ebee5b7def5fdf3c61b225857be4 (patch)
tree0686f103986bedfa2602dc22a7eef09b4568495a
parent3c1b7750e9ba8e0c6205b305890d973948ff4fae (diff)
downloadbinaryen-af146aa19fa7ebee5b7def5fdf3c61b225857be4.tar.gz
binaryen-af146aa19fa7ebee5b7def5fdf3c61b225857be4.tar.bz2
binaryen-af146aa19fa7ebee5b7def5fdf3c61b225857be4.zip
enable binary format testing
-rwxr-xr-xcheck.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/check.py b/check.py
index 7ed6afa63..d53bdfcb1 100755
--- a/check.py
+++ b/check.py
@@ -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'