@@ -341,24 +341,23 @@ def test_audio_worklet_params_mixing(self):
341
341
shutil .copy (test_file ('webaudio/audio_files/emscripten-bass.mp3' ), 'audio_files/' )
342
342
self .btest_exit ('webaudio/audioworklet_params_mixing.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
343
343
344
- # Same as 'test_audio_worklet_2x_stereo_io' but with the worklet stack starting at 2GB in (tests for unsigned shifts in the memory offsets)
345
- def test_audio_worklet_stereo_io_2gb (self ):
346
- os .mkdir ('audio_files' )
347
- shutil .copy (test_file ('webaudio/audio_files/emscripten-beat.mp3' ), 'audio_files/' )
348
- shutil .copy (test_file ('webaudio/audio_files/emscripten-bass.mp3' ), 'audio_files/' )
349
- self .btest_exit ('webaudio/audioworklet_in_out_stereo.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' , '-sINITIAL_MEMORY=2200mb' , '-sGLOBAL_BASE=2gb' ])
350
-
351
- # Same as 'test_audio_worklet_stereo_io_2gb' but built for wasm64 with the worklet stack starting at 4GB
352
- def test_audio_worklet_stereo_io_4gb (self ):
353
- os .mkdir ('audio_files' )
354
- shutil .copy (test_file ('webaudio/audio_files/emscripten-beat.mp3' ), 'audio_files/' )
355
- shutil .copy (test_file ('webaudio/audio_files/emscripten-bass.mp3' ), 'audio_files/' )
356
- self .btest_exit ('webaudio/audioworklet_in_out_stereo.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' , '-sMEMORY64' , '-sINITIAL_MEMORY=4200mb' , '-sGLOBAL_BASE=4gb' ])
357
-
358
344
359
345
class interactive64 (interactive ):
360
346
def setUp (self ):
361
347
super ().setUp ()
362
348
self .set_setting ('MEMORY64' )
363
- self .emcc_args .append ('-Wno-experimental' )
364
349
self .require_wasm64 ()
350
+
351
+ class interactive64_4gb (interactive ):
352
+ def setUp (self ):
353
+ super ().setUp ()
354
+ self .set_setting ('MEMORY64' )
355
+ self .set_setting ('INITIAL_MEMORY' , '4200mb' )
356
+ self .set_setting ('GLOBAL_BASE' , '4gb' )
357
+ self .require_wasm64 ()
358
+
359
+ class interactive_2gb (interactive ):
360
+ def setUp (self ):
361
+ super ().setUp ()
362
+ self .set_setting ('INITIAL_MEMORY' , '2200mb' )
363
+ self .set_setting ('GLOBAL_BASE' , '2gb' )
0 commit comments