-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[esm-integration] Add a new core test mode and 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
Conversation
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
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
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
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
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
36c8a41
to
693533d
Compare
21c6eda
to
874faab
Compare
bd8b23f
to
b39ce99
Compare
@@ -1142,6 +1153,9 @@ workflows: | |||
- test-modularize-instance: | |||
requires: | |||
- build-linux | |||
- test-esm-integration: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need both the modularize-instance mode and the esm integration mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the time being I think it would be good. Maybe we can delete the former completely once this lands.
@@ -7796,6 +7824,7 @@ def test_embind_dylink_visibility_hidden(self): | |||
self.do_runf('main.cpp', 'done\n', emcc_args=['--bind']) | |||
|
|||
@no_wasm2js('TODO: source maps in wasm2js') | |||
@no_esm_integration('WASM_ESM_INTEGRATION is not compatible with dwarf output') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think its because of the wasm-dis / wasm-as round-trip we have to do to modify the import names. Hopefully that can be fixed soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah. SGTM to have this now and fix soon.
47d11b6
to
8779ae3
Compare
…all test. This is fairly larger change which can likely to split up before landing.
Looks like this broke CI because it can't find any tests matching the pattern. |
No description provided.