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

[js-api] Move JS API legacy tests into test/legacy #305

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented May 31, 2024

This moves legacy JS API tests, which use the old try instruction, into test/legacy/js-api. This also moves the legacy core tests from test/legacy to test/legacy/core.

This moves legacy JS API tests, which use the old `try` instruction,
into `test/legacy/js-api`. This also moves the legacy core tests from
`test/legacy` to `test/legacy/core`.
@aheejin aheejin requested review from dschuff and rossberg May 31, 2024 20:24
@aheejin
Copy link
Member Author

aheejin commented May 31, 2024

By the way I wonder how we should structure our legacy js-api tests in https://github.com/web-platform-tests/wpt/tree/master/wasm/jsapi. Should we add legacy directory in there?

@dschuff
Copy link
Member

dschuff commented May 31, 2024

By the way I wonder how we should structure our legacy js-api tests in https://github.com/web-platform-tests/wpt/tree/master/wasm/jsapi. Should we add legacy directory in there?

Yes, I think so. We do want to keep them in WPT for now, so that seems like as good a structure as any.

@aheejin aheejin merged commit 87ae341 into WebAssembly:main Jun 10, 2024
1 check passed
@aheejin aheejin deleted the js_api_legacy_tests branch June 10, 2024 22:24
aheejin added a commit that referenced this pull request Jun 21, 2024
These two tests used to be in
https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception
and were moved into
https://github.com/WebAssembly/exception-handling/tree/main/test/legacy/exceptions/js-api
in #305.

I'm planning new version of these tests that use `try_table` and
`throw_ref` in
https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception,
but it wouldn't require to rewrite the whole tests, but copying these
tests into the this directory and modify them in a single PR makes
Github think these are brand-new files, resulting in a large diff
containing the whole files that is difficult to review (and which has
been reviewed and in the repo for a long time already).

So I'm making a PR that only re-adds these file here so that I can add
changes to these files in another PR.
aheejin added a commit that referenced this pull request Jun 25, 2024
These two tests used to be in
https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception
and were moved into
https://github.com/WebAssembly/exception-handling/tree/main/test/legacy/exceptions/js-api
in #305.

I'm planning new version of these tests that use `try_table` and
`throw_ref` in
https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception,
but it wouldn't require to rewrite the whole tests, but copying these
tests into the this directory and modify them in a single PR makes
Github think these are brand-new files, resulting in a large diff
containing the whole files that is difficult to review (and which has
been reviewed and in the repo for a long time already).

So I'm making a PR that only re-adds these file here so that I can add
changes to these files in another PR.
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