From af146aa19fa7ebee5b7def5fdf3c61b225857be4 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 14 Jan 2016 13:28:01 -0800 Subject: enable binary format testing --- check.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'check.py') 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' -- cgit v1.2.3