summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
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: