@@ -1524,7 +1524,7 @@ def test_idbstore_sync(self, asyncify):
1524
1524
1525
1525
def test_idbstore_sync_worker (self ):
1526
1526
secret = str (time .time ())
1527
- self .btest ('test_idbstore_sync_worker.c' , expected = '0' , args = ['-lidbstore.js' , f'-DSECRET="{ secret } "' , '-O3' , '-g2' , '--proxy-to-worker' , '-sINITIAL_MEMORY=80MB' , '- sASYNCIFY' ])
1527
+ self .btest ('test_idbstore_sync_worker.c' , expected = '0' , args = ['-lidbstore.js' , f'-DSECRET="{ secret } "' , '-O3' , '-g2' , '--proxy-to-worker' , '-sASYNCIFY' ])
1528
1528
1529
1529
def test_force_exit (self ):
1530
1530
self .btest_exit ('force_exit.c' , assert_returncode = 10 )
@@ -2273,10 +2273,10 @@ def test_sdl_canvas_palette_2(self):
2273
2273
self .btest ('test_sdl_canvas_palette_2.c' , reference = 'browser/test_sdl_canvas_palette_b.png' , args = ['--pre-js' , 'pre.js' , '--pre-js' , 'args-b.js' , '-lSDL' , '-lGL' ])
2274
2274
2275
2275
def test_sdl_ttf_render_text_solid (self ):
2276
- self .btest ('test_sdl_ttf_render_text_solid.c' , reference = 'browser/test_sdl_ttf_render_text_solid.png' , args = ['-O2' , '-sINITIAL_MEMORY=16MB' , '- lSDL' , '-lGL' ])
2276
+ self .btest ('test_sdl_ttf_render_text_solid.c' , reference = 'browser/test_sdl_ttf_render_text_solid.png' , args = ['-O2' , '-lSDL' , '-lGL' ])
2277
2277
2278
2278
def test_sdl_alloctext (self ):
2279
- self .btest_exit ('test_sdl_alloctext.c' , args = ['-sINITIAL_MEMORY=16MB' , '- lSDL' , '-lGL' ])
2279
+ self .btest_exit ('test_sdl_alloctext.c' , args = ['-lSDL' , '-lGL' ])
2280
2280
2281
2281
def test_sdl_surface_refcount (self ):
2282
2282
self .btest_exit ('test_sdl_surface_refcount.c' , args = ['-lSDL' ])
@@ -3240,7 +3240,7 @@ def test_sdl2_canvas_palette_2(self):
3240
3240
3241
3241
@no_wasm64 ('SDL2 + wasm64' )
3242
3242
def test_sdl2_swsurface (self ):
3243
- self .btest_exit ('test_sdl2_swsurface.c' , args = ['-sUSE_SDL=2' , '-sINITIAL_MEMORY=64MB' ])
3243
+ self .btest_exit ('test_sdl2_swsurface.c' , args = ['-sUSE_SDL=2' ])
3244
3244
3245
3245
@no_wasm64 ('SDL2 + wasm64' )
3246
3246
@requires_graphics_hardware
@@ -3406,7 +3406,7 @@ def test_sdl2_misc_via_object(self):
3406
3406
@requires_sound_hardware
3407
3407
def test_sdl2_mixer_wav (self , flags ):
3408
3408
shutil .copyfile (test_file ('sounds/the_entertainer.wav' ), 'sound.wav' )
3409
- self .btest_exit ('test_sdl2_mixer_wav.c' , args = ['--preload-file' , 'sound.wav' , '-sINITIAL_MEMORY=33554432' ] + flags )
3409
+ self .btest_exit ('test_sdl2_mixer_wav.c' , args = ['--preload-file' , 'sound.wav' ] + flags )
3410
3410
3411
3411
@no_wasm64 ('SDL2 + wasm64' )
3412
3412
@parameterized ({
@@ -3427,7 +3427,6 @@ def test_sdl2_mixer_music(self, formats, flags, music_name):
3427
3427
'-sUSE_SDL=2' ,
3428
3428
'-sUSE_SDL_MIXER=2' ,
3429
3429
'-sSDL2_MIXER_FORMATS=' + ',' .join (formats ),
3430
- '-sINITIAL_MEMORY=33554432'
3431
3430
])
3432
3431
3433
3432
@requires_graphics_hardware
@@ -3907,7 +3906,7 @@ def test_pthread_in_pthread_pool_size_strict(self):
3907
3906
})
3908
3907
@requires_threads
3909
3908
def test_pthread_atomics (self , args ):
3910
- self .btest_exit ('pthread/test_pthread_atomics.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' , '-g1' ] + args )
3909
+ self .btest_exit ('pthread/test_pthread_atomics.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' , '-g1' ] + args )
3911
3910
3912
3911
# Test 64-bit atomics.
3913
3912
@requires_threads
@@ -3963,7 +3962,7 @@ def test_pthread_gcc_atomic_fetch_and_op(self):
3963
3962
for debug in [[], ['-g' ]]:
3964
3963
args = opt + debug
3965
3964
print (args )
3966
- self .btest_exit ('pthread/test_pthread_gcc_atomic_fetch_and_op.cpp' , args = args + ['-sINITIAL_MEMORY=64MB' , '- pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3965
+ self .btest_exit ('pthread/test_pthread_gcc_atomic_fetch_and_op.cpp' , args = args + ['-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3967
3966
3968
3967
# 64 bit version of the above test.
3969
3968
@also_with_wasm2js
@@ -3972,14 +3971,14 @@ def test_pthread_gcc_64bit_atomic_fetch_and_op(self):
3972
3971
if not self .is_wasm ():
3973
3972
self .skipTest ('https://github.com/WebAssembly/binaryen/issues/4358' )
3974
3973
self .emcc_args += ['-Wno-sync-fetch-and-nand-semantics-changed' ]
3975
- self .btest_exit ('pthread/test_pthread_gcc_64bit_atomic_fetch_and_op.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3974
+ self .btest_exit ('pthread/test_pthread_gcc_64bit_atomic_fetch_and_op.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3976
3975
3977
3976
# Test the old GCC atomic __sync_op_and_fetch builtin operations.
3978
3977
@also_with_wasm2js
3979
3978
@requires_threads
3980
3979
def test_pthread_gcc_atomic_op_and_fetch (self ):
3981
3980
self .emcc_args += ['-Wno-sync-fetch-and-nand-semantics-changed' ]
3982
- self .btest_exit ('pthread/test_pthread_gcc_atomic_op_and_fetch.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3981
+ self .btest_exit ('pthread/test_pthread_gcc_atomic_op_and_fetch.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3983
3982
3984
3983
# 64 bit version of the above test.
3985
3984
@also_with_wasm2js
@@ -3988,28 +3987,28 @@ def test_pthread_gcc_64bit_atomic_op_and_fetch(self):
3988
3987
if not self .is_wasm ():
3989
3988
self .skipTest ('https://github.com/WebAssembly/binaryen/issues/4358' )
3990
3989
self .emcc_args += ['-Wno-sync-fetch-and-nand-semantics-changed' , '--profiling-funcs' ]
3991
- self .btest_exit ('pthread/test_pthread_gcc_64bit_atomic_op_and_fetch.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- pthread' , '-O2' , '-sPTHREAD_POOL_SIZE=8' ])
3990
+ self .btest_exit ('pthread/test_pthread_gcc_64bit_atomic_op_and_fetch.cpp' , args = ['-pthread' , '-O2' , '-sPTHREAD_POOL_SIZE=8' ])
3992
3991
3993
3992
# Tests the rest of the remaining GCC atomics after the two above tests.
3994
3993
@also_with_wasm2js
3995
3994
@requires_threads
3996
3995
def test_pthread_gcc_atomics (self ):
3997
- self .btest_exit ('pthread/test_pthread_gcc_atomics.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3996
+ self .btest_exit ('pthread/test_pthread_gcc_atomics.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
3998
3997
3999
3998
# Test the __sync_lock_test_and_set and __sync_lock_release primitives.
4000
3999
@also_with_wasm2js
4001
4000
@requires_threads
4002
4001
def test_pthread_gcc_spinlock (self ):
4003
4002
for arg in [[], ['-DUSE_EMSCRIPTEN_INTRINSICS' ]]:
4004
- self .btest_exit ('pthread/test_pthread_gcc_spinlock.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ] + arg )
4003
+ self .btest_exit ('pthread/test_pthread_gcc_spinlock.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ] + arg )
4005
4004
4006
4005
# Test that basic thread creation works.
4007
4006
@requires_threads
4008
4007
def test_pthread_create (self ):
4009
4008
def test (args ):
4010
4009
print (args )
4011
4010
self .btest_exit ('pthread/test_pthread_create.cpp' ,
4012
- args = ['-sINITIAL_MEMORY=64MB' , '- pthread' , '-sPTHREAD_POOL_SIZE=8' ] + args ,
4011
+ args = ['-pthread' , '-sPTHREAD_POOL_SIZE=8' ] + args ,
4013
4012
extra_tries = 0 ) # this should be 100% deterministic
4014
4013
print () # new line
4015
4014
test ([])
@@ -4082,7 +4081,7 @@ def test_pthread_cleanup(self):
4082
4081
'spinlock' : (['-DSPINLOCK_TEST' ],),
4083
4082
})
4084
4083
def test_pthread_mutex (self , args ):
4085
- self .btest_exit ('pthread/test_pthread_mutex.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ] + args )
4084
+ self .btest_exit ('pthread/test_pthread_mutex.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ] + args )
4086
4085
4087
4086
@requires_threads
4088
4087
def test_pthread_attr_getstack (self ):
@@ -4091,27 +4090,27 @@ def test_pthread_attr_getstack(self):
4091
4090
# Test that memory allocation is thread-safe.
4092
4091
@requires_threads
4093
4092
def test_pthread_malloc (self ):
4094
- self .btest_exit ('pthread/test_pthread_malloc.c' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4093
+ self .btest_exit ('pthread/test_pthread_malloc.c' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4095
4094
4096
4095
# Stress test pthreads allocating memory that will call to sbrk(), and main thread has to free up the data.
4097
4096
@requires_threads
4098
4097
def test_pthread_malloc_free (self ):
4099
- self .btest_exit ('pthread/test_pthread_malloc_free.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' , '-sINITIAL_MEMORY=256MB ' ])
4098
+ self .btest_exit ('pthread/test_pthread_malloc_free.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4100
4099
4101
4100
# Test that the pthread_barrier API works ok.
4102
4101
@requires_threads
4103
4102
def test_pthread_barrier (self ):
4104
- self .btest_exit ('pthread/test_pthread_barrier.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4103
+ self .btest_exit ('pthread/test_pthread_barrier.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4105
4104
4106
4105
# Test the pthread_once() function.
4107
4106
@requires_threads
4108
4107
def test_pthread_once (self ):
4109
- self .btest_exit ('pthread/test_pthread_once.c' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4108
+ self .btest_exit ('pthread/test_pthread_once.c' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4110
4109
4111
4110
# Test against a certain thread exit time handling bug by spawning tons of threads.
4112
4111
@requires_threads
4113
4112
def test_pthread_spawns (self ):
4114
- self .btest_exit ('pthread/test_pthread_spawns.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' , '--closure=1' , '-sENVIRONMENT=web,worker' ])
4113
+ self .btest_exit ('pthread/test_pthread_spawns.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' , '--closure=1' , '-sENVIRONMENT=web,worker' ])
4115
4114
4116
4115
# It is common for code to flip volatile global vars for thread control. This is a bit lax, but nevertheless, test whether that
4117
4116
# kind of scheme will work with Emscripten as well.
@@ -4121,17 +4120,17 @@ def test_pthread_spawns(self):
4121
4120
'atomic' : ([],),
4122
4121
})
4123
4122
def test_pthread_volatile (self , args ):
4124
- self .btest_exit ('pthread/test_pthread_volatile.c' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ] + args )
4123
+ self .btest_exit ('pthread/test_pthread_volatile.c' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ] + args )
4125
4124
4126
4125
# Test thread-specific data (TLS).
4127
4126
@requires_threads
4128
4127
def test_pthread_thread_local_storage (self ):
4129
- self .btest_exit ('pthread/test_pthread_thread_local_storage.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' , '-sASSERTIONS' ])
4128
+ self .btest_exit ('pthread/test_pthread_thread_local_storage.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' , '-sASSERTIONS' ])
4130
4129
4131
4130
# Test the pthread condition variable creation and waiting.
4132
4131
@requires_threads
4133
4132
def test_pthread_condition_variable (self ):
4134
- self .btest_exit ('pthread/test_pthread_condition_variable.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4133
+ self .btest_exit ('pthread/test_pthread_condition_variable.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ])
4135
4134
4136
4135
# Test that pthreads are able to do printf.
4137
4136
@parameterized ({
@@ -4140,12 +4139,12 @@ def test_pthread_condition_variable(self):
4140
4139
})
4141
4140
@requires_threads
4142
4141
def test_pthread_printf (self , debug ):
4143
- self .btest_exit ('pthread/test_pthread_printf.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE' , '-sLIBRARY_DEBUG=%d' % debug ])
4142
+ self .btest_exit ('pthread/test_pthread_printf.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE' , '-sLIBRARY_DEBUG=%d' % debug ])
4144
4143
4145
4144
# Test that pthreads are able to do cout. Failed due to https://bugzilla.mozilla.org/show_bug.cgi?id=1154858.
4146
4145
@requires_threads
4147
4146
def test_pthread_iostream (self ):
4148
- self .btest_exit ('pthread/test_pthread_iostream.cpp' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' , '-sPTHREAD_POOL_SIZE' ])
4147
+ self .btest_exit ('pthread/test_pthread_iostream.cpp' , args = ['-O3' , '-pthread' , '-sPTHREAD_POOL_SIZE' ])
4149
4148
4150
4149
@requires_threads
4151
4150
def test_pthread_unistd_io_bigint (self ):
@@ -4155,7 +4154,7 @@ def test_pthread_unistd_io_bigint(self):
4155
4154
@also_with_wasm2js
4156
4155
@requires_threads
4157
4156
def test_pthread_setspecific_mainthread (self ):
4158
- self .btest_exit ('pthread/test_pthread_setspecific_mainthread.c' , args = ['-sINITIAL_MEMORY=64MB' , '- O3' , '-pthread' ])
4157
+ self .btest_exit ('pthread/test_pthread_setspecific_mainthread.c' , args = ['-O3' , '-pthread' ])
4159
4158
4160
4159
# Test that pthreads have access to filesystem.
4161
4160
@requires_threads
@@ -4319,7 +4318,7 @@ def test_pthread_utf8_funcs(self):
4319
4318
@also_with_wasm2js
4320
4319
@requires_threads
4321
4320
def test_pthread_wake_all (self ):
4322
- self .btest_exit ('pthread/test_futex_wake_all.cpp' , args = ['-O3' , '-pthread' , '-sINITIAL_MEMORY=64MB' ])
4321
+ self .btest_exit ('pthread/test_futex_wake_all.cpp' , args = ['-O3' , '-pthread' ])
4323
4322
4324
4323
# Test that stack base and max correctly bound the stack on pthreads.
4325
4324
@requires_threads
@@ -4351,7 +4350,7 @@ def test_pthread_safe_stack(self):
4351
4350
@requires_threads
4352
4351
@no_firefox ('https://github.com/emscripten-core/emscripten/issues/15978' )
4353
4352
def test_pthread_lsan (self , name , args ):
4354
- self .btest (Path ('pthread' , name + '.cpp' ), expected = '1' , args = ['-fsanitize=leak' , '-sINITIAL_MEMORY=256MB' , '- pthread' , '-sPROXY_TO_PTHREAD' , '--pre-js' , test_file ('pthread' , name + '.js' )] + args )
4353
+ self .btest (Path ('pthread' , name + '.cpp' ), expected = '1' , args = ['-fsanitize=leak' , '-pthread' , '-sPROXY_TO_PTHREAD' , '--pre-js' , test_file ('pthread' , name + '.js' )] + args )
4355
4354
4356
4355
@no_wasm64 ('TODO: ASAN in memory64' )
4357
4356
@parameterized ({
@@ -4361,12 +4360,12 @@ def test_pthread_lsan(self, name, args):
4361
4360
})
4362
4361
@requires_threads
4363
4362
def test_pthread_asan (self , name , args ):
4364
- self .btest (Path ('pthread' , name + '.cpp' ), expected = '1' , args = ['-fsanitize=address' , '-sINITIAL_MEMORY=256MB' , '- pthread' , '-sPROXY_TO_PTHREAD' , '--pre-js' , test_file ('pthread' , name + '.js' )] + args )
4363
+ self .btest (Path ('pthread' , name + '.cpp' ), expected = '1' , args = ['-fsanitize=address' , '-pthread' , '-sPROXY_TO_PTHREAD' , '--pre-js' , test_file ('pthread' , name + '.js' )] + args )
4365
4364
4366
4365
@no_wasm64 ('TODO: ASAN in memory64' )
4367
4366
@requires_threads
4368
4367
def test_pthread_asan_use_after_free (self ):
4369
- self .btest ('pthread/test_pthread_asan_use_after_free.cpp' , expected = '1' , args = ['-fsanitize=address' , '-sINITIAL_MEMORY=256MB' , '- pthread' , '-sPROXY_TO_PTHREAD' , '--pre-js' , test_file ('pthread/test_pthread_asan_use_after_free.js' )])
4368
+ self .btest ('pthread/test_pthread_asan_use_after_free.cpp' , expected = '1' , args = ['-fsanitize=address' , '-pthread' , '-sPROXY_TO_PTHREAD' , '--pre-js' , test_file ('pthread/test_pthread_asan_use_after_free.js' )])
4370
4369
4371
4370
@no_wasm64 ('TODO: ASAN in memory64' )
4372
4371
@no_firefox ('https://github.com/emscripten-core/emscripten/issues/20006' )
@@ -4377,7 +4376,7 @@ def test_pthread_asan_use_after_free_2(self):
4377
4376
# of proxy-to-pthread, and also the allocation happens on the pthread
4378
4377
# (which tests that it can use the offset converter to get the stack
4379
4378
# trace there)
4380
- self .btest ('pthread/test_pthread_asan_use_after_free_2.cpp' , expected = '1' , args = ['-fsanitize=address' , '-sINITIAL_MEMORY=256MB' , '- pthread' , '-sPTHREAD_POOL_SIZE=1' , '--pre-js' , test_file ('pthread/test_pthread_asan_use_after_free_2.js' )])
4379
+ self .btest ('pthread/test_pthread_asan_use_after_free_2.cpp' , expected = '1' , args = ['-fsanitize=address' , '-pthread' , '-sPTHREAD_POOL_SIZE=1' , '--pre-js' , test_file ('pthread/test_pthread_asan_use_after_free_2.js' )])
4381
4380
4382
4381
@requires_threads
4383
4382
def test_pthread_exit_process (self ):
@@ -4516,7 +4515,7 @@ def test_async_compile(self, opts, returncode):
4516
4515
# Test that implementing Module.instantiateWasm() callback works.
4517
4516
@parameterized ({
4518
4517
'' : ([],),
4519
- 'asan' : (['-fsanitize=address' , '-sINITIAL_MEMORY=128MB' ],)
4518
+ 'asan' : (['-fsanitize=address' ],)
4520
4519
})
4521
4520
def test_manual_wasm_instantiate (self , args ):
4522
4521
if self .is_wasm64 () and args :
@@ -4861,8 +4860,7 @@ def test_fetch_stream_file(self):
4861
4860
with open ('largefile.txt' , 'w' ) as f :
4862
4861
for _ in range (1024 ):
4863
4862
f .write (s )
4864
- self .btest_exit ('fetch/test_fetch_stream_file.cpp' ,
4865
- args = ['-sFETCH_DEBUG' , '-sFETCH' , '-sINITIAL_MEMORY=536870912' ])
4863
+ self .btest_exit ('fetch/test_fetch_stream_file.cpp' , args = ['-sFETCH_DEBUG' , '-sFETCH' ])
4866
4864
4867
4865
def test_fetch_headers_received (self ):
4868
4866
create_file ('myfile.dat' , 'hello world\n ' )
@@ -5111,7 +5109,7 @@ def test_single_file_worker_js(self):
5111
5109
@requires_threads
5112
5110
def test_pthreads_started_in_worker (self ):
5113
5111
self .set_setting ('EXIT_RUNTIME' )
5114
- self .compile_btest ('pthread/test_pthread_atomics.cpp' , ['-o' , 'test.js' , '-sINITIAL_MEMORY=64MB' , '- pthread' , '-sPTHREAD_POOL_SIZE=8' ], reporting = Reporting .JS_ONLY )
5112
+ self .compile_btest ('pthread/test_pthread_atomics.cpp' , ['-o' , 'test.js' , '-pthread' , '-sPTHREAD_POOL_SIZE=8' ], reporting = Reporting .JS_ONLY )
5115
5113
create_file ('test.html' , '''
5116
5114
<script>
5117
5115
new Worker('test.js');
@@ -5606,7 +5604,7 @@ def test_dlmalloc_3gb(self):
5606
5604
# will require bumping this
5607
5605
'main_thread' : (['-sPTHREAD_POOL_SIZE=5' ],),
5608
5606
# using proxy_to_pthread also works, of course
5609
- 'proxy_to_pthread' : (['-sPROXY_TO_PTHREAD' , '-sINITIAL_MEMORY=32MB' , '- DPROXYING' ],),
5607
+ 'proxy_to_pthread' : (['-sPROXY_TO_PTHREAD' , '-DPROXYING' ],),
5610
5608
# using BigInt support affects the ABI, and should not break things. (this
5611
5609
# could be tested on either thread; do the main thread for simplicity)
5612
5610
'bigint' : (['-sPTHREAD_POOL_SIZE=5' , '-sWASM_BIGINT' ],),
@@ -5621,7 +5619,7 @@ def test_wasmfs_fetch_backend(self, args):
5621
5619
create_file ('subdir/backendfile' , 'file 1' )
5622
5620
create_file ('subdir/backendfile2' , 'file 2' )
5623
5621
self .btest_exit ('wasmfs/wasmfs_fetch.c' ,
5624
- args = ['-sWASMFS' , '-pthread' , '-sPROXY_TO_PTHREAD' , '-sINITIAL_MEMORY=32MB' ,
5622
+ args = ['-sWASMFS' , '-pthread' , '-sPROXY_TO_PTHREAD' ,
5625
5623
'--js-library' , test_file ('wasmfs/wasmfs_fetch.js' )] + args )
5626
5624
5627
5625
@no_firefox ('no OPFS support yet' )
0 commit comments