@@ -43,13 +43,13 @@ def test_sdl_mousewheel(self):
4343 self .btest_exit ('test_sdl_mousewheel.c' )
4444
4545 def test_sdl_touch (self ):
46- self .btest ('sdl_touch .c' , args = ['-O2' , '-g1' , '--closure=1' ], expected = '0' )
46+ self .btest ('test_sdl_touch .c' , args = ['-O2' , '-g1' , '--closure=1' ], expected = '0' )
4747
4848 def test_sdl_wm_togglefullscreen (self ):
49- self .btest_exit ('sdl_wm_togglefullscreen .c' )
49+ self .btest_exit ('test_sdl_wm_togglefullscreen .c' )
5050
5151 def test_sdl_fullscreen_samecanvassize (self ):
52- self .btest_exit ('sdl_fullscreen_samecanvassize .c' )
52+ self .btest_exit ('test_sdl_fullscreen_samecanvassize .c' )
5353
5454 def test_sdl2_togglefullscreen (self ):
5555 self .btest_exit ('browser/test_sdl_togglefullscreen.c' , args = ['-sUSE_SDL=2' ])
@@ -62,7 +62,7 @@ def test_sdl_audio(self):
6262 create_file ('bad.ogg' , 'I claim to be audio, but am lying' )
6363
6464 # use closure to check for a possible bug with closure minifying away newer Audio() attributes
65- self .btest_exit ('sdl_audio .c' , args = ['--preload-file' , 'sound.ogg' , '--preload-file' , 'sound2.wav' , '--embed-file' , 'the_entertainer.ogg' , '--preload-file' , 'noise.ogg' , '--preload-file' , 'bad.ogg' ])
65+ self .btest_exit ('test_sdl_audio .c' , args = ['--preload-file' , 'sound.ogg' , '--preload-file' , 'sound2.wav' , '--embed-file' , 'the_entertainer.ogg' , '--preload-file' , 'noise.ogg' , '--preload-file' , 'bad.ogg' ])
6666
6767 # print('SDL2')
6868 # check sdl2 as well
@@ -80,7 +80,7 @@ def test_sdl_audio(self):
8080 def test_sdl_audio_mix_channels (self , args ):
8181 shutil .copyfile (test_file ('sounds/noise.ogg' ), self .in_dir ('sound.ogg' ))
8282
83- self .btest_exit ('sdl_audio_mix_channels .c' , args = ['-O2' , '--minify=0' , '--preload-file' , 'sound.ogg' ] + args )
83+ self .btest_exit ('test_sdl_audio_mix_channels .c' , args = ['-O2' , '--minify=0' , '--preload-file' , 'sound.ogg' ] + args )
8484
8585 @parameterized ({
8686 '' : ([],),
@@ -91,17 +91,17 @@ def test_sdl_audio_mix(self, args):
9191 shutil .copyfile (test_file ('sounds/the_entertainer.ogg' ), self .in_dir ('music.ogg' ))
9292 shutil .copyfile (test_file ('sounds/noise.ogg' ), self .in_dir ('noise.ogg' ))
9393
94- self .btest_exit ('sdl_audio_mix .c' , args = ['-O2' , '--minify=0' , '--preload-file' , 'sound.ogg' , '--preload-file' , 'music.ogg' , '--preload-file' , 'noise.ogg' ] + args )
94+ self .btest_exit ('test_sdl_audio_mix .c' , args = ['-O2' , '--minify=0' , '--preload-file' , 'sound.ogg' , '--preload-file' , 'music.ogg' , '--preload-file' , 'noise.ogg' ] + args )
9595
9696 def test_sdl_audio_panning (self ):
9797 shutil .copyfile (test_file ('sounds/the_entertainer.wav' ), self .in_dir ('the_entertainer.wav' ))
9898
9999 # use closure to check for a possible bug with closure minifying away newer Audio() attributes
100- self .btest_exit ('sdl_audio_panning .c' , args = ['-O2' , '--closure=1' , '--minify=0' , '--preload-file' , 'the_entertainer.wav' , '-sEXPORTED_FUNCTIONS=_main,_play' ])
100+ self .btest_exit ('test_sdl_audio_panning .c' , args = ['-O2' , '--closure=1' , '--minify=0' , '--preload-file' , 'the_entertainer.wav' , '-sEXPORTED_FUNCTIONS=_main,_play' ])
101101
102102 def test_sdl_audio_beeps (self ):
103103 # use closure to check for a possible bug with closure minifying away newer Audio() attributes
104- self .btest_exit ('sdl_audio_beep .cpp' , args = ['-O2' , '--closure=1' , '--minify=0' , '-sDISABLE_EXCEPTION_CATCHING=0' , '-o' , 'page.html' ])
104+ self .btest_exit ('test_sdl_audio_beep .cpp' , args = ['-O2' , '--closure=1' , '--minify=0' , '-sDISABLE_EXCEPTION_CATCHING=0' , '-o' , 'page.html' ])
105105
106106 def test_sdl2_mixer_wav (self ):
107107 shutil .copyfile (test_file ('sounds/the_entertainer.wav' ), 'sound.wav' )
0 commit comments