Skip to content

Misc tests#288

Merged
sunfishcode merged 7 commits intomasterfrom
misc-tests
May 18, 2016
Merged

Misc tests#288
sunfishcode merged 7 commits intomasterfrom
misc-tests

Conversation

@sunfishcode
Copy link
Member

A few more floating point tests, but also includes a test for memory size overflow.

"data segment not disjoint and ordered"
)
(assert_invalid
(module (memory 0 65536))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about also adding a test with a value that overflows the 32-bit (resp 64-bit range), to check that there is no accidental wrap-around?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok; tests added.

@rossberg
Copy link
Member

lgtm

@sunfishcode sunfishcode merged commit 9d26e51 into master May 18, 2016
@sunfishcode sunfishcode deleted the misc-tests branch May 18, 2016 02:47
ngzhian added a commit to ngzhian/spec that referenced this pull request Nov 4, 2021
The error messages don't match the tests yet (simd_lane.wast), that
still needs to be worked out in WebAssembly#287.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants