@@ -212,8 +212,6 @@ def metafunc(self, jspi, *args, **kwargs):
212
212
self .require_jspi ()
213
213
else :
214
214
self .set_setting ('ASYNCIFY' )
215
- if self .get_setting ('MODULARIZE' ) == 'instance' :
216
- self .skipTest ('MODULARIZE=instance is not compatible with ASYNCIFY=1' )
217
215
f (self , * args , ** kwargs )
218
216
219
217
parameterize (metafunc , {'' : (False ,),
@@ -233,8 +231,6 @@ def metafunc(self, asyncify, *args, **kwargs):
233
231
self .require_jspi ()
234
232
elif asyncify == 1 :
235
233
self .set_setting ('ASYNCIFY' )
236
- if self .get_setting ('MODULARIZE' ) == 'instance' :
237
- self .skipTest ('MODULARIZE=instance is not compatible with ASYNCIFY=1' )
238
234
else :
239
235
assert asyncify == 0
240
236
f (self , * args , ** kwargs )
@@ -1885,7 +1881,7 @@ def test_emscripten_get_compiler_setting(self):
1885
1881
self .set_setting ('RETAIN_COMPILER_SETTINGS' )
1886
1882
self .do_runf (src , read_file (output ).replace ('waka' , utils .EMSCRIPTEN_VERSION ))
1887
1883
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' )
1889
1885
def test_emscripten_has_asyncify (self ):
1890
1886
src = r'''
1891
1887
#include <stdio.h>
@@ -7024,7 +7020,7 @@ def test_EXPORTED_RUNTIME_METHODS(self):
7024
7020
self .do_core_test ('EXPORTED_RUNTIME_METHODS.c' )
7025
7021
7026
7022
@also_with_minimal_runtime
7027
- @no_modularize_instance ( 'uses dynCallLegacy ' )
7023
+ @no_esm_integration ( 'WASM_ESM_INTEGRATION is not compatible with DYNCALLS ' )
7028
7024
def test_dyncall_specific (self ):
7029
7025
if self .get_setting ('WASM_BIGINT' ) != 0 and not self .is_wasm2js ():
7030
7026
# define DYNCALLS because this test does test calling them directly, and
@@ -7051,8 +7047,8 @@ def test_dyncall_specific(self):
7051
7047
'legacy' : (['-sDYNCALLS' ],),
7052
7048
})
7053
7049
def test_dyncall_pointers (self , args ):
7054
- if args and self .get_setting ('MODULARIZE' ) == 'instance' or self . get_setting ( ' WASM_ESM_INTEGRATION' ):
7055
- self .skipTest ('dynCallLegacy is not yet compatible with MODULARIZE=instance ' )
7050
+ if args and self .get_setting ('WASM_ESM_INTEGRATION' ):
7051
+ self .skipTest ('WASM_ESM_INTEGRATION is not compatible with DYNCALLS ' )
7056
7052
self .do_core_test ('test_dyncall_pointers.c' , emcc_args = args )
7057
7053
7058
7054
@also_with_wasm_bigint
@@ -8068,7 +8064,7 @@ def test_vswprintf_utf8(self):
8068
8064
8069
8065
# Test async sleeps in the presence of invoke_* calls, which can happen with
8070
8066
# 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' )
8072
8068
def test_asyncify_longjmp (self ):
8073
8069
self .set_setting ('ASYNCIFY' )
8074
8070
self .set_setting ('STRICT' )
@@ -8128,7 +8124,7 @@ def test_async_loop(self):
8128
8124
self .do_runf ('main.c' , 'hello 0\n hello 1\n hello 2\n hello 3\n hello 4\n ' )
8129
8125
8130
8126
@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' )
8132
8128
def test_async_hello_v8 (self ):
8133
8129
self .test_async_hello ()
8134
8130
@@ -8233,7 +8229,7 @@ def test_async_ccall_promise(self, exit_runtime):
8233
8229
self .emcc_args += ['--pre-js' , 'pre.js' ]
8234
8230
self .do_runf ('main.c' , 'stringf: first\n second\n 6.4' )
8235
8231
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' )
8237
8233
def test_fibers_asyncify (self ):
8238
8234
self .set_setting ('ASYNCIFY' )
8239
8235
self .maybe_closure ()
@@ -8244,7 +8240,7 @@ def test_asyncify_unused(self):
8244
8240
# test a program not using asyncify, but the pref is set
8245
8241
self .do_core_test ('test_hello_world.c' )
8246
8242
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' )
8248
8244
@parameterized ({
8249
8245
'normal' : ([], True ),
8250
8246
'removelist_a' : (['-sASYNCIFY_REMOVE=["foo(int, double)"]' ], False ),
@@ -8292,7 +8288,7 @@ def test_asyncify_lists(self, args, should_pass, response=None):
8292
8288
# virt() manually, rather than have them inferred automatically.
8293
8289
'add_no_prop' : (['-sASYNCIFY_IGNORE_INDIRECT' , '-sASYNCIFY_ADD=["__original_main","main","virt()"]' , '-sASYNCIFY_PROPAGATE_ADD=0' ], True ),
8294
8290
})
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' )
8296
8292
def test_asyncify_indirect_lists (self , args , should_pass ):
8297
8293
self .set_setting ('ASYNCIFY' )
8298
8294
self .emcc_args += args
@@ -8310,7 +8306,7 @@ def test_asyncify_indirect_lists(self, args, should_pass):
8310
8306
raise
8311
8307
8312
8308
@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' )
8314
8310
def test_asyncify_side_module (self ):
8315
8311
self .set_setting ('ASYNCIFY' )
8316
8312
self .set_setting ('ASYNCIFY_IMPORTS' , ['my_sleep' ])
@@ -8340,12 +8336,12 @@ def test_asyncify_side_module(self):
8340
8336
''' , 'before sleep\n 42\n 42\n after sleep\n ' , header = 'void my_sleep(int);' , force_c = True )
8341
8337
8342
8338
@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' )
8344
8340
def test_emscripten_scan_registers (self ):
8345
8341
self .set_setting ('ASYNCIFY' )
8346
8342
self .do_core_test ('test_emscripten_scan_registers.cpp' )
8347
8343
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' )
8349
8345
def test_asyncify_assertions (self ):
8350
8346
self .set_setting ('ASYNCIFY' )
8351
8347
self .set_setting ('ASYNCIFY_IMPORTS' , ['suspend' ])
@@ -8354,7 +8350,7 @@ def test_asyncify_assertions(self):
8354
8350
8355
8351
@no_lsan ('leaks asyncify stack during exit' )
8356
8352
@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' )
8358
8354
def test_asyncify_during_exit (self ):
8359
8355
self .set_setting ('ASYNCIFY' )
8360
8356
self .set_setting ('ASSERTIONS' )
0 commit comments