@@ -311,28 +311,28 @@ def test_audio_worklet_stereo_io(self):
311311 os .mkdir ('audio_files' )
312312 shutil .copy (test_file ('webaudio/audio_files/emscripten-beat.mp3' ), 'audio_files/' )
313313 shutil .copy (test_file ('webaudio/audio_files/emscripten-bass.mp3' ), 'audio_files/' )
314- self .btest ('webaudio/audioworklet_in_out_stereo.c' , expected = '0 ' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
314+ self .btest_exit ('webaudio/audioworklet_in_out_stereo.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
315315
316316 # Tests an AudioWorklet with multiple stereo inputs copying in the processor to multiple stereo outputs (6kB stack)
317317 def test_audio_worklet_2x_stereo_io (self ):
318318 os .mkdir ('audio_files' )
319319 shutil .copy (test_file ('webaudio/audio_files/emscripten-beat.mp3' ), 'audio_files/' )
320320 shutil .copy (test_file ('webaudio/audio_files/emscripten-bass.mp3' ), 'audio_files/' )
321- self .btest ('webaudio/audioworklet_2x_in_out_stereo.c' , expected = '0 ' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
321+ self .btest_exit ('webaudio/audioworklet_2x_in_out_stereo.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
322322
323323 # Tests an AudioWorklet with multiple mono inputs mixing in the processor to a single mono output (2kB stack)
324324 def test_audio_worklet_mono_io (self ):
325325 os .mkdir ('audio_files' )
326326 shutil .copy (test_file ('webaudio/audio_files/emscripten-beat-mono.mp3' ), 'audio_files/' )
327327 shutil .copy (test_file ('webaudio/audio_files/emscripten-bass-mono.mp3' ), 'audio_files/' )
328- self .btest ('webaudio/audioworklet_in_out_mono.c' , expected = '0 ' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
328+ self .btest_exit ('webaudio/audioworklet_in_out_mono.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
329329
330330 # Tests an AudioWorklet with multiple mono inputs copying in the processor to L+R stereo outputs (3kB stack)
331331 def test_audio_worklet_2x_hard_pan_io (self ):
332332 os .mkdir ('audio_files' )
333333 shutil .copy (test_file ('webaudio/audio_files/emscripten-beat-mono.mp3' ), 'audio_files/' )
334334 shutil .copy (test_file ('webaudio/audio_files/emscripten-bass-mono.mp3' ), 'audio_files/' )
335- self .btest ('webaudio/audioworklet_2x_in_hard_pan.c' , expected = '0 ' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
335+ self .btest_exit ('webaudio/audioworklet_2x_in_hard_pan.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
336336
337337
338338class interactive64 (interactive ):
0 commit comments