Skip to content

Commit b1371c6

Browse files
authored
Add a core test mode for MODULARIZE=instance (#24298)
1 parent 0601399 commit b1371c6

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,7 @@ jobs:
802802
core0.test_async_ccall_promise_jspi*
803803
core0.test_cubescript_jspi
804804
esm_integration.test_fs_js_api*
805+
instance.test_hello_world
805806
"
806807
# Run some basic tests with the minimum version of node that we currently
807808
# support in the generated code.

test/runner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
'wasm64_v8',
7373
'wasm64_4gb',
7474
'esm_integration',
75+
'instance',
7576
]
7677

7778
# The default core test mode, used when none is specified

test/test_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9786,6 +9786,7 @@ def setUp(self):
97869786
init=lambda self: shared.node_bigint_flags(self.get_nodejs()))
97879787

97889788
esm_integration = make_run('esm_integration', init=lambda self: self.setup_esm_integration())
9789+
instance = make_run('instance', emcc_args=['-Wno-experimental'], settings={'MODULARIZE': 'instance'})
97899790

97909791
# Add DEFAULT_TO_CXX=0
97919792
strict = make_run('strict', emcc_args=[], settings={'STRICT': 1})

0 commit comments

Comments
 (0)