Skip to content
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

Implement AssertSuspension #37

Merged
merged 5 commits into from
Nov 3, 2023
Merged

Conversation

dhil
Copy link
Member

@dhil dhil commented Nov 2, 2023

This patch provides an implementation for the Wast assert_suspension directive, enabling us to run test cases that tests for unhandled suspensions.

@frank-emrich
Copy link

It seems like assert_suspension is a specialisation of assert_trap, is that correct? It asserts that a trap happens, but is more specific about which trap(s) should occur.

@dhil
Copy link
Member Author

dhil commented Nov 2, 2023

It seems like assert_suspension is a specialisation of assert_trap, is that correct? It asserts that a trap happens, but is more specific about which trap(s) should occur.

Yes, you can view it as a particular trap.

This patch provides an implementation for the Wast `assert_suspension`
directive, enabling us to run test cases that tests for unhandled
suspensions.
@dhil dhil merged commit 31a4e53 into wasmfx:main Nov 3, 2023
4 checks passed
@dhil dhil deleted the wasmfx-assertsuspension branch November 3, 2023 09:44
@dhil dhil mentioned this pull request Nov 3, 2023
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.

None yet

2 participants