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

[EH] Rename Wasm EH tests #23427

Merged
merged 8 commits into from
Jan 17, 2025
Merged

[EH] Rename Wasm EH tests #23427

merged 8 commits into from
Jan 17, 2025

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jan 16, 2025

This renames Wasm EH test modes:

  • wasm -> wasm_legacy
  • wasm_exnref -> wasm

So _wasm suffix means the standardized Wasm EH, and _wasm_legacy means the legacy EH. This also removes some comments mentioning things like "new Wasm EH with exnref", given that this should be (eventually) the default mode and not the new thing.

This renames Wasm EH test modes:
- `wasm` -> `wasm_legacy`
- `wasm_exnref` -> `wasm`

So `_wasm` suffix means the standardized Wasm EH, and `_wasm_legacy`
means the legacy EH. This also removes some comments mentioning things
like "new Wasm EH with exnref", given that this should be (eventually)
the default mode and not the new thing.
@aheejin aheejin requested a review from sbc100 January 16, 2025 03:01
@@ -15316,8 +15314,8 @@ def test_SUPPORT_BIG_ENDIAN(self):
'noexcept': ['-fno-exceptions'],
'default': [],
'except': ['-sDISABLE_EXCEPTION_CATCHING=0'],
'except_wasm': ['-fwasm-exceptions', '-sWASM_LEGACY_EXCEPTIONS'],
'except_wasm_exnref': ['-fwasm-exceptions', '-sWASM_LEGACY_EXCEPTIONS=0']
'except_wasm': ['-fwasm-exceptions', '-sWASM_LEGACY_EXCEPTIONS=0'],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just drop the '-sWASM_LEGACY_EXCEPTIONS=0' here maybe?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is meant to be Wasm (exnref) so without that it will use the legacy exception instead, no? (WASM_LEGACY_EXCEPTIONS is on by default now)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I didn't realize that part. lgtm

This is an automatic change generated by tools/maint/rebaseline_tests.py.

The following (1) test expectation files were updated by
running the tests with `--rebaseline`:

```
other/codesize/test_codesize_cxx_except_wasm.size: 142162 => 144708 [+2546 bytes / +1.79%]

Average change: +1.79% (+1.79% - +1.79%)
```
@aheejin aheejin merged commit bb16735 into emscripten-core:main Jan 17, 2025
29 checks passed
@aheejin aheejin deleted the eh_test_names branch January 17, 2025 02:09
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