From 14d497a1b60509af54619b4b36660ade48f3fe38 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 14 Jan 2016 14:44:39 -0800 Subject: prepare for running binaryen on s2wasm torture outputs --- check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'check.py') diff --git a/check.py b/check.py index fb22da3d9..cb3b86fa9 100755 --- a/check.py +++ b/check.py @@ -277,8 +277,8 @@ if torture: out=s2wasm_torture_out) assert os.path.isdir(s2wasm_torture_out), 'Expected output directory %s' % s2wasm_torture_out for wast in sorted(os.listdir(s2wasm_torture_out)): - cmd = [os.path.join('bin', 'binaryen-shell'), os.path.join(s2wasm_torture_out, wast)] - print cmd + cmd = [os.path.join('bin', 'binaryen-shell'), os.path.join(s2wasm_torture_out, wast)] #, '--entry=main'] + print ' '.join(cmd) subprocess.check_call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) shutil.rmtree(s2wasm_torture_out) if unexpected_result_count: -- cgit v1.2.3