summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-01-14 14:44:39 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-01-14 14:44:39 -0800
commit14d497a1b60509af54619b4b36660ade48f3fe38 (patch)
tree6d2ca8301861f370bc3417b1299a1e136d335032 /check.py
parente696560332211216d26e9396033b8ba50af0fa82 (diff)
downloadbinaryen-14d497a1b60509af54619b4b36660ade48f3fe38.tar.gz
binaryen-14d497a1b60509af54619b4b36660ade48f3fe38.tar.bz2
binaryen-14d497a1b60509af54619b4b36660ade48f3fe38.zip
prepare for running binaryen on s2wasm torture outputs
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py4
1 files changed, 2 insertions, 2 deletions
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: