Skip to content

[test] Add support for generating .any.js versions of the core tests#2208

Open
Ms2ger wants to merge 10 commits into
WebAssembly:mainfrom
Ms2ger:review-build.py
Open

[test] Add support for generating .any.js versions of the core tests#2208
Ms2ger wants to merge 10 commits into
WebAssembly:mainfrom
Ms2ger:review-build.py

Conversation

@Ms2ger

@Ms2ger Ms2ger commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

This also refactors the script a bit to hopefully make it easier to follow, and stops doing some unnecessary work when generating the HTML tests that are currently used in web-platform-tests.

Ms2ger added 10 commits July 13, 2026 14:01
This is the only place that has an indirection for the path; the rest of the script assumes the executable will be at the fixed path. It would be pointless to call this function with another argument.
This allows removing some duplicated code later.
This removes some duplicated code. Note that the copy_harness_files calls now need to happen after the convert_wast_to_js call.
This makes it possible to adjust the code to each caller.
This is pointless when each test runs in its own HTML file.
These tests assume the testharness files are in the resources folder in the root of the server. It's not useful to add another copy elsewhere.
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