diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test/support.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/test/support.py b/scripts/test/support.py index 43762fffa..5d791d155 100755 --- a/scripts/test/support.py +++ b/scripts/test/support.py @@ -94,6 +94,11 @@ def split_wast(wast): # this splits out a wast into [(module, assertions), ..] # we ignore module invalidity tests here. wast = open(wast).read() + + # if it's a binary, leave it as is + if wast[0] == '\0': + return [[wast, '']] + ret = [] def to_end(j): |