@@ -212,8 +212,6 @@ def metafunc(self, jspi, *args, **kwargs):
212212 self .require_jspi ()
213213 else :
214214 self .set_setting ('ASYNCIFY' )
215- if self .get_setting ('MODULARIZE' ) == 'instance' :
216- self .skipTest ('MODULARIZE=instance is not compatible with ASYNCIFY=1' )
217215 f (self , * args , ** kwargs )
218216
219217 parameterize (metafunc , {'' : (False ,),
@@ -233,8 +231,6 @@ def metafunc(self, asyncify, *args, **kwargs):
233231 self .require_jspi ()
234232 elif asyncify == 1 :
235233 self .set_setting ('ASYNCIFY' )
236- if self .get_setting ('MODULARIZE' ) == 'instance' :
237- self .skipTest ('MODULARIZE=instance is not compatible with ASYNCIFY=1' )
238234 else :
239235 assert asyncify == 0
240236 f (self , * args , ** kwargs )
@@ -1885,7 +1881,7 @@ def test_emscripten_get_compiler_setting(self):
18851881 self .set_setting ('RETAIN_COMPILER_SETTINGS' )
18861882 self .do_runf (src , read_file (output ).replace ('waka' , utils .EMSCRIPTEN_VERSION ))
18871883
1888- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
1884+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
18891885 def test_emscripten_has_asyncify (self ):
18901886 src = r'''
18911887 #include <stdio.h>
@@ -7024,7 +7020,7 @@ def test_EXPORTED_RUNTIME_METHODS(self):
70247020 self .do_core_test ('EXPORTED_RUNTIME_METHODS.c' )
70257021
70267022 @also_with_minimal_runtime
7027- @no_modularize_instance ( 'uses dynCallLegacy ' )
7023+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with DYNCALLS ' )
70287024 def test_dyncall_specific (self ):
70297025 if self .get_setting ('WASM_BIGINT' ) != 0 and not self .is_wasm2js ():
70307026 # define DYNCALLS because this test does test calling them directly, and
@@ -7051,8 +7047,8 @@ def test_dyncall_specific(self):
70517047 'legacy' : (['-sDYNCALLS' ],),
70527048 })
70537049 def test_dyncall_pointers (self , args ):
7054- if args :
7055- self .skipTest ('dynCallLegacy is not yet compatible with WASM_ESM_INTEGRATION ' )
7050+ if args and self . get_setting ( 'WASM_ESM_INTEGRATION' ) :
7051+ self .skipTest ('WASM_ESM_INTEGRATION is not compatible with DYNCALLS ' )
70567052 self .do_core_test ('test_dyncall_pointers.c' , emcc_args = args )
70577053
70587054 @also_with_wasm_bigint
@@ -8068,7 +8064,7 @@ def test_vswprintf_utf8(self):
80688064
80698065 # Test async sleeps in the presence of invoke_* calls, which can happen with
80708066 # longjmp or exceptions.
8071- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8067+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
80728068 def test_asyncify_longjmp (self ):
80738069 self .set_setting ('ASYNCIFY' )
80748070 self .set_setting ('STRICT' )
@@ -8128,7 +8124,7 @@ def test_async_loop(self):
81288124 self .do_runf ('main.c' , 'hello 0\n hello 1\n hello 2\n hello 3\n hello 4\n ' )
81298125
81308126 @requires_v8
8131- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8127+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
81328128 def test_async_hello_v8 (self ):
81338129 self .test_async_hello ()
81348130
@@ -8233,7 +8229,7 @@ def test_async_ccall_promise(self, exit_runtime):
82338229 self .emcc_args += ['--pre-js' , 'pre.js' ]
82348230 self .do_runf ('main.c' , 'stringf: first\n second\n 6.4' )
82358231
8236- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8232+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
82378233 def test_fibers_asyncify (self ):
82388234 self .set_setting ('ASYNCIFY' )
82398235 self .maybe_closure ()
@@ -8244,7 +8240,7 @@ def test_asyncify_unused(self):
82448240 # test a program not using asyncify, but the pref is set
82458241 self .do_core_test ('test_hello_world.c' )
82468242
8247- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8243+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
82488244 @parameterized ({
82498245 'normal' : ([], True ),
82508246 'removelist_a' : (['-sASYNCIFY_REMOVE=["foo(int, double)"]' ], False ),
@@ -8292,7 +8288,7 @@ def test_asyncify_lists(self, args, should_pass, response=None):
82928288 # virt() manually, rather than have them inferred automatically.
82938289 'add_no_prop' : (['-sASYNCIFY_IGNORE_INDIRECT' , '-sASYNCIFY_ADD=["__original_main","main","virt()"]' , '-sASYNCIFY_PROPAGATE_ADD=0' ], True ),
82948290 })
8295- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8291+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
82968292 def test_asyncify_indirect_lists (self , args , should_pass ):
82978293 self .set_setting ('ASYNCIFY' )
82988294 self .emcc_args += args
@@ -8310,7 +8306,7 @@ def test_asyncify_indirect_lists(self, args, should_pass):
83108306 raise
83118307
83128308 @with_dylink_reversed
8313- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8309+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
83148310 def test_asyncify_side_module (self ):
83158311 self .set_setting ('ASYNCIFY' )
83168312 self .set_setting ('ASYNCIFY_IMPORTS' , ['my_sleep' ])
@@ -8340,12 +8336,12 @@ def test_asyncify_side_module(self):
83408336 ''' , 'before sleep\n 42\n 42\n after sleep\n ' , header = 'void my_sleep(int);' , force_c = True )
83418337
83428338 @no_asan ('asyncify stack operations confuse asan' )
8343- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8339+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
83448340 def test_emscripten_scan_registers (self ):
83458341 self .set_setting ('ASYNCIFY' )
83468342 self .do_core_test ('test_emscripten_scan_registers.cpp' )
83478343
8348- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8344+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
83498345 def test_asyncify_assertions (self ):
83508346 self .set_setting ('ASYNCIFY' )
83518347 self .set_setting ('ASYNCIFY_IMPORTS' , ['suspend' ])
@@ -8354,7 +8350,7 @@ def test_asyncify_assertions(self):
83548350
83558351 @no_lsan ('leaks asyncify stack during exit' )
83568352 @no_asan ('leaks asyncify stack during exit' )
8357- @no_modularize_instance ( 'MODULARIZE=instance is not compatible with ASYNCIFY=1' )
8353+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with ASYNCIFY=1' )
83588354 def test_asyncify_during_exit (self ):
83598355 self .set_setting ('ASYNCIFY' )
83608356 self .set_setting ('ASSERTIONS' )
0 commit comments