-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[test] Remove malformed tests that become valid with memory64 #1648
[test] Remove malformed tests that become valid with memory64 #1648
Conversation
With memory64, memory offsets will be decoded as u64. An engine implementing this will fail tests that test that we reject such module. Thus remove those tests from the main spec repo now; they should be added back in the memory64 repo, but changed to `assert_trap` tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of removing the tests, can you comment them out with a TODO to reactivate them with assert_trap in the Memory64 proposal?
Also, if you could then downstream this to the mem64 repo and address the TODO there that would be awesome. ;)
Thanks, Andreas, that makes sense. First part done, will address the second part now (in the memory64 repo). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sorry, I just noticed that something is off here when preparing the change in the memory64 repo. The tests were moved from That would mean that we should indeed remove the tests from Not sure how to check if there were more such merge errors in #1287. |
The memory64 repo is currently quite out-of-date with upstream I'm afraid. I've been struggling to find time to resolve the merge conflicts (my OCaml skills is not too sharp yet) to get it up-to-date. |
With memory64, memory offsets will be decoded as u64. An engine implementing this will fail tests that test that we reject such module. Thus remove those tests from the main spec repo now; they should be added back in the memory64 repo, but changed to
assert_trap
tests.