Skip to content

Commit 8fd7016

Browse files
committed
Removed tests (to standalone PR #23394)
1 parent 90c4bae commit 8fd7016

11 files changed

+0
-691
lines changed

test/test_browser.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5433,18 +5433,6 @@ def test_audio_worklet_post_function(self, args):
54335433
def test_audio_worklet_modularize(self, args):
54345434
self.btest_exit('webaudio/audioworklet.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-sMODULARIZE=1', '-sEXPORT_NAME=MyModule', '--shell-file', test_file('shell_that_launches_modularize.html')] + args)
54355435

5436-
# Tests multiple inputs, forcing a larger stack (note: passing BROWSER_TEST is
5437-
# specific to this test to allow it to exit rather than play forever).
5438-
@parameterized({
5439-
'': ([],),
5440-
'minimal_with_closure': (['-sMINIMAL_RUNTIME', '--closure=1', '-Oz'],),
5441-
})
5442-
def test_audio_worklet_stereo_io(self, args):
5443-
os.mkdir('audio_files')
5444-
shutil.copy(test_file('webaudio/audio_files/emscripten-beat.mp3'), 'audio_files/')
5445-
shutil.copy(test_file('webaudio/audio_files/emscripten-bass.mp3'), 'audio_files/')
5446-
self.btest_exit('webaudio/audioworklet_in_out_stereo.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-DBROWSER_TEST'] + args)
5447-
54485436
def test_error_reporting(self):
54495437
# Test catching/reporting Error objects
54505438
create_file('post.js', 'throw new Error("oops");')

test/test_interactive.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -306,34 +306,6 @@ def test_audio_worklet_tone_generator(self):
306306
def test_audio_worklet_modularize(self):
307307
self.btest('webaudio/audioworklet.c', expected='0', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-sMINIMAL_RUNTIME', '-sMODULARIZE'])
308308

309-
# Tests an AudioWorklet with multiple stereo inputs mixing in the processor to a single stereo output (4kB stack)
310-
def test_audio_worklet_stereo_io(self):
311-
os.mkdir('audio_files')
312-
shutil.copy(test_file('webaudio/audio_files/emscripten-beat.mp3'), 'audio_files/')
313-
shutil.copy(test_file('webaudio/audio_files/emscripten-bass.mp3'), 'audio_files/')
314-
self.btest_exit('webaudio/audioworklet_in_out_stereo.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS'])
315-
316-
# Tests an AudioWorklet with multiple stereo inputs copying in the processor to multiple stereo outputs (6kB stack)
317-
def test_audio_worklet_2x_stereo_io(self):
318-
os.mkdir('audio_files')
319-
shutil.copy(test_file('webaudio/audio_files/emscripten-beat.mp3'), 'audio_files/')
320-
shutil.copy(test_file('webaudio/audio_files/emscripten-bass.mp3'), 'audio_files/')
321-
self.btest_exit('webaudio/audioworklet_2x_in_out_stereo.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS'])
322-
323-
# Tests an AudioWorklet with multiple mono inputs mixing in the processor to a single mono output (2kB stack)
324-
def test_audio_worklet_mono_io(self):
325-
os.mkdir('audio_files')
326-
shutil.copy(test_file('webaudio/audio_files/emscripten-beat-mono.mp3'), 'audio_files/')
327-
shutil.copy(test_file('webaudio/audio_files/emscripten-bass-mono.mp3'), 'audio_files/')
328-
self.btest_exit('webaudio/audioworklet_in_out_mono.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS'])
329-
330-
# Tests an AudioWorklet with multiple mono inputs copying in the processor to L+R stereo outputs (3kB stack)
331-
def test_audio_worklet_2x_hard_pan_io(self):
332-
os.mkdir('audio_files')
333-
shutil.copy(test_file('webaudio/audio_files/emscripten-beat-mono.mp3'), 'audio_files/')
334-
shutil.copy(test_file('webaudio/audio_files/emscripten-bass-mono.mp3'), 'audio_files/')
335-
self.btest_exit('webaudio/audioworklet_2x_in_hard_pan.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS'])
336-
337309

338310
class interactive64(interactive):
339311
def setUp(self):

test/webaudio/audio_files/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Binary file not shown.
-258 KB
Binary file not shown.
Binary file not shown.
-246 KB
Binary file not shown.

test/webaudio/audioworklet_2x_in_hard_pan.c

Lines changed: 0 additions & 155 deletions
This file was deleted.

test/webaudio/audioworklet_2x_in_out_stereo.c

Lines changed: 0 additions & 156 deletions
This file was deleted.

0 commit comments

Comments
 (0)