Skip to content

[WIP] [esm-integration] Add a new core test mode and either fix or disable all tests #24288

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented May 9, 2025

This is fairly larger change which can likely to split up before landing.

…all test.

This is fairly larger change which can likely to split up before landing.
@sbc100 sbc100 changed the title [esm-integration] Add a new core test mode and either fix or disable all tests [WIP] [esm-integration] Add a new core test mode and either fix or disable all tests May 9, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 9, 2025
This change also adds a new core test mode for ESM integration and
uses this to run all the variants of test_fs_js_api.

As part of this I also updated the octal constants in test_fs_js_api.c
which are required to be of the new form in strict JS.  All code in ES
modules is implicitly in strict mode.

Split out from emscripten-core#24288

See emscripten-core#24060
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 9, 2025
This change also adds a new core test mode for ESM integration and
uses this to run all the variants of test_fs_js_api.

As part of this I also updated the octal constants in test_fs_js_api.c
which are required to be of the new form in strict JS.  All code in ES
modules is implicitly in strict mode.

Split out from emscripten-core#24288

See emscripten-core#24060
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 9, 2025
This change also adds a new core test mode for ESM integration and
uses this to run all the variants of test_fs_js_api.

As part of this I also updated the octal constants in test_fs_js_api.c
which are required to be of the new form in strict JS.  All code in ES
modules is implicitly in strict mode.

Split out from emscripten-core#24288

See emscripten-core#24060
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 9, 2025
This change also adds a new core test mode for ESM integration and
uses this to run all the variants of test_fs_js_api.

As part of this I also updated the octal constants in test_fs_js_api.c
which are required to be of the new form in strict JS.  All code in ES
modules is implicitly in strict mode.

Split out from emscripten-core#24288

See emscripten-core#24060
sbc100 added a commit that referenced this pull request May 9, 2025
This change also adds a new core test mode for ESM integration and uses
this to run all the variants of test_fs_js_api.

As part of this I also updated the octal constants in test_fs_js_api.c
which are required to be of the new form in strict JS. All code in ES
modules is implicitly in strict mode.

Split out from #24288

See #24060
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 13, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 13, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 13, 2025
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 13, 2025
sbc100 added a commit that referenced this pull request May 13, 2025
These tests just required updating to handle `.mjs` rather than `.js`
output.

Split out from #24288

See #24060
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.

1 participant