@@ -2378,6 +2378,8 @@ def test_memorygrowth_3_force_fail_reallocBuffer(self):
23782378 @no_asan ('requires more memory when growing' )
23792379 @no_lsan ('requires more memory when growing' )
23802380 def test_aborting_new (self , args ):
2381+ if self .get_setting ('INITIAL_MEMORY' ):
2382+ self .skipTest ('test depends on default INITIAL_MEMORY' )
23812383 # test that C++ new properly errors if we fail to malloc when growth is
23822384 # enabled, with or without growth
23832385 self .emcc_args += args
@@ -6517,6 +6519,9 @@ def test_whets(self):
65176519 @no_asan ('depends on the specifics of memory size, which for asan we are forced to increase' )
65186520 @no_lsan ('depends on the specifics of memory size, which for lsan we are forced to increase' )
65196521 def test_dlmalloc_inline (self ):
6522+ if self .get_setting ('INITIAL_MEMORY' ):
6523+ self .skipTest ('test depends on default INITIAL_MEMORY' )
6524+
65206525 # needed with typed arrays
65216526 self .set_setting ('INITIAL_MEMORY' , '128mb' )
65226527
@@ -6530,6 +6535,9 @@ def test_dlmalloc_inline(self):
65306535 @no_lsan ('depends on the specifics of memory size, which for lsan we are forced to increase' )
65316536 @no_wasmfs ('wasmfs does some malloc/free during startup, fragmenting the heap, leading to differences later' )
65326537 def test_dlmalloc (self ):
6538+ if self .get_setting ('INITIAL_MEMORY' ):
6539+ self .skipTest ('test depends on default INITIAL_MEMORY' )
6540+
65336541 # needed with typed arrays
65346542 self .set_setting ('INITIAL_MEMORY' , '128mb' )
65356543
@@ -6562,6 +6570,9 @@ def test_dlmalloc(self):
65626570 @no_asan ('the memory size limit here is too small for asan' )
65636571 @no_lsan ('the memory size limit here is too small for lsan' )
65646572 def test_dlmalloc_large (self ):
6573+ if self .get_setting ('INITIAL_MEMORY' ):
6574+ self .skipTest ('test depends on default INITIAL_MEMORY' )
6575+
65656576 self .emcc_args += ['-sABORTING_MALLOC=0' , '-sALLOW_MEMORY_GROWTH=1' , '-sMAXIMUM_MEMORY=128MB' ]
65666577 self .do_runf (test_file ('dlmalloc_test_large.c' ), '0 0 0 1' )
65676578
@@ -8396,6 +8407,7 @@ def test_asyncify_during_exit(self):
83968407 @no_lsan ('undefined symbol __global_base' )
83978408 @no_wasm2js ('dynamic linking support in wasm2js' )
83988409 @with_asyncify_and_jspi
8410+ @needs_dylink
83998411 def test_asyncify_main_module (self ):
84008412 self .set_setting ('MAIN_MODULE' , 2 )
84018413 self .do_core_test ('test_hello_world.c' )
0 commit comments