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

Use wast2json instead for generating tests? #11

Open
binji opened this issue Mar 8, 2019 · 2 comments
Open

Use wast2json instead for generating tests? #11

binji opened this issue Mar 8, 2019 · 2 comments

Comments

@binji
Copy link

binji commented Mar 8, 2019

wabt provides the wast2json tool to parse the wast files. It then generates a .json file, and a collection of .wasm files for each module. This might be simpler than parsing yourself in runtest.py.

@kanaka
Copy link
Owner

kanaka commented Mar 12, 2019

@binji thanks, I wasn't aware of that tool and that's a great idea. Might be a while before I'm able to get around to it but it would definitely improve things.

@vshymanskyy
Copy link

You can find an example of doing this here: https://github.com/vshymanskyy/wasm3/blob/master/test/run-spec-test.py

@kanaka feel free to adjust it to your needs

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

No branches or pull requests

3 participants