summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2016-01-06 13:23:13 -0800
committerDan Gohman <sunfish@mozilla.com>2016-01-06 16:15:25 -0800
commitb0abc686c4dae518f1ff7b1d71e5710eb36ae61e (patch)
tree6c339dbc399e1563c14ac0c3f2f79787cfe69370
parentbde95949f89e8f288ed0a9a8356460f9e3bbbbbf (diff)
downloadbinaryen-b0abc686c4dae518f1ff7b1d71e5710eb36ae61e.tar.gz
binaryen-b0abc686c4dae518f1ff7b1d71e5710eb36ae61e.tar.bz2
binaryen-b0abc686c4dae518f1ff7b1d71e5710eb36ae61e.zip
Run binaryen-shell on the dot_s test .wast files.
-rwxr-xr-xcheck.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/check.py b/check.py
index 214e9f1c4..64a6914ff 100755
--- a/check.py
+++ b/check.py
@@ -251,6 +251,11 @@ for dot_s_dir in ['dot_s', 'llvm_autogenerated']:
out, err = proc.communicate()
assert proc.returncode == 0, err
+ # run binaryen-shell on the .wast to verify that it parses
+ proc = subprocess.Popen([os.path.join('bin', 'binaryen-shell'), expected_file], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ actual, err = proc.communicate()
+ assert proc.returncode == 0, err
+
print '\n[ checking torture testcases... ]\n'
import test.experimental.buildbot.link_assembly_files as link_assembly_files