Skip to content

Skip all core tests that require MODULARIZE from being run in STRICT_JS mode. #24958

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

Merged
merged 2 commits into from
Aug 18, 2025

Conversation

juj
Copy link
Collaborator

@juj juj commented Aug 18, 2025

Skip all core tests that require MODULARIZE from being run in STRICT_JS mode, since the two are not compatible.

Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

lgtm!

(Although I'm not sure its practical to ensure that all possible configs of the core test suite pass for all tests since there are so many and we/I tend to add new ones all the time without ensuring that all tests pass. Are you particularity interesting in the strict_js config?)

@@ -8025,6 +8027,7 @@ def get_wat_addr(call_index):
self.assertLessEqual(dwarf_addr, end_wat_addr)

@no_modularize_instance('uses -sMODULARIZE')
@no_strict_js('This test verifies behavior in MODULARIZE mode, and STRICT_JS is not compatible with MODULARIZE')
Copy link
Collaborator

Choose a reason for hiding this comment

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

This string can just be MODULARIZE is not compatible with STRICT_JS, which is the format we use elsewhere for this types of skips.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

check

@juj
Copy link
Collaborator Author

juj commented Aug 18, 2025

Yes, we are looking to "upgrade" to shipping with use strict; in the future.

@juj juj enabled auto-merge (squash) August 18, 2025 21:19
@juj juj merged commit ea9b4fb into emscripten-core:main Aug 18, 2025
30 checks passed
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