Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 10 additions & 19 deletions test/binary/binary.wast
Original file line number Diff line number Diff line change
Expand Up @@ -1107,15 +1107,6 @@
)
"invalid leading byte (0x7) for canonical function"
)
(assert_malformed
(component binary
"\00asm" "\0d\00\01\00" ;; preamble
"\08\02" ;; canon section (2 bytes)
"\01" ;; 1 canon
"\2e" ;; 0x2e is unallocated
)
"invalid leading byte (0x2e) for canonical function"
)
(assert_malformed
(component binary
"\00asm" "\0d\00\01\00" ;; preamble
Expand Down Expand Up @@ -1170,7 +1161,7 @@
"\01" ;; 1 canon
"\0c\02" ;; thread.yield with flag 0x02
)
"invalid boolean value"
"invalid leading byte (0x2) for zero byte"
)
(assert_malformed
(component binary
Expand All @@ -1179,7 +1170,7 @@
"\01" ;; 1 canon
"\20\02\00" ;; waitable-set.wait with flag 0x02
)
"invalid boolean value"
"invalid leading byte (0x2) for zero byte"
)

;; the 'cancellable' immediate was removed; the vestigial byte must be 0x00
Expand All @@ -1203,7 +1194,7 @@
"\01" ;; 1 canon
"\20\01\00" ;; 0x20 waitable-set.wait, reserved byte 0x01, (memory 0)
)
"non-zero reserved byte"
"invalid leading byte (0x1) for zero byte"
)
(assert_malformed
(component binary
Expand All @@ -1225,7 +1216,7 @@
"\01" ;; 1 canon
"\21\01\00" ;; 0x21 waitable-set.poll, reserved byte 0x01, (memory 0)
)
"non-zero reserved byte"
"invalid leading byte (0x1) for zero byte"
)
(assert_malformed
(component binary
Expand All @@ -1234,7 +1225,7 @@
"\01" ;; 1 canon
"\29\01" ;; 0x29 thread.suspend, reserved byte 0x01
)
"non-zero reserved byte"
"invalid leading byte (0x1) for zero byte"
)
(assert_malformed
(component binary
Expand All @@ -1243,7 +1234,7 @@
"\01" ;; 1 canon
"\0c\01" ;; 0x0c thread.yield, reserved byte 0x01
)
"non-zero reserved byte"
"invalid leading byte (0x1) for zero byte"
)
(assert_malformed
(component binary
Expand All @@ -1252,7 +1243,7 @@
"\01" ;; 1 canon
"\2a\01" ;; 0x2a thread.suspend-then-resume, reserved byte 0x01
)
"non-zero reserved byte"
"invalid leading byte (0x1) for zero byte"
)
(assert_malformed
(component binary
Expand All @@ -1261,7 +1252,7 @@
"\01" ;; 1 canon
"\2b\01" ;; 0x2b thread.yield-then-resume, reserved byte 0x01
)
"non-zero reserved byte"
"invalid leading byte (0x1) for zero byte"
)
(assert_malformed
(component binary
Expand All @@ -1270,7 +1261,7 @@
"\01" ;; 1 canon
"\2c\01" ;; 0x2c thread.suspend-then-promote, reserved byte 0x01
)
"non-zero reserved byte"
"invalid leading byte (0x1) for zero byte"
)
(assert_malformed
(component binary
Expand All @@ -1279,7 +1270,7 @@
"\01" ;; 1 canon
"\2d\01" ;; 0x2d thread.yield-then-promote, reserved byte 0x01
)
"non-zero reserved byte"
"invalid leading byte (0x1) for zero byte"
)

;; import section (id 10) and export section (id 11)
Expand Down
1 change: 0 additions & 1 deletion test/nyi.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# See README.md
./validation/kebab.wast
./binary/binary.wast
./values/post-return.wast
./async/big-interleaving-test.wast
./async/forward.wast
Loading