Skip to content

Conversation

rossberg
Copy link
Member

Fix #1698. This tweaks the generators for bulk memory/table tests to insert (script ...) scopes around tests and extends the JS converter to turn these into block scopes.

This is likely to break existing .wast consumers that do not recognise script scopes. The simplest fix is to ignore them by treating them as equivalent to their contents.

@titzer
Copy link
Contributor

titzer commented Oct 27, 2023

Does it help to split up these tests into multiple .wasts? In general, splitting up the many large spec tests helps ergonomics of the test suite.

@rossberg
Copy link
Member Author

Personally, I'm not a big fan of having a gazillion micro test files. But in any case, these are generated, so that would require a more significant rewrite of the JS generator scripts, that somebody would have to volunteer doing.

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.

[JS Generator] Add scope for each wasm instance
2 participants