summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-06-17 17:01:14 +0100
committerGitHub <noreply@github.com>2016-06-17 17:01:14 +0100
commitec931e717a07dc21f22ac543ab0fe5af78879cc8 (patch)
treeef460027757709a774815de3a24c1d3aa5c800d8 /check.py
parent6fdd9dd2137a563bc41a85cf45178cc734e499a2 (diff)
parent40a40a9bf6dd5385dfa703e98a376222f03882aa (diff)
downloadbinaryen-ec931e717a07dc21f22ac543ab0fe5af78879cc8.tar.gz
binaryen-ec931e717a07dc21f22ac543ab0fe5af78879cc8.tar.bz2
binaryen-ec931e717a07dc21f22ac543ab0fe5af78879cc8.zip
Merge pull request #589 from WebAssembly/spec-fixes
Spec fixes
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 2da0d30e6..43591ee73 100755
--- a/check.py
+++ b/check.py
@@ -412,7 +412,7 @@ for t in spec_tests:
try:
actual = run_spec_test(wast)
except Exception, e:
- if 'wasm-validator error' in str(e) and '.fail.' in t:
+ if ('wasm-validator error' in str(e) or 'parse exception' in str(e)) and '.fail.' in t:
print '<< test failed as expected >>'
continue # don't try all the binary format stuff TODO
else: