@@ -4406,9 +4406,9 @@ def test_webgl_vao_without_automatic_extensions(self):
44064406 # blitFramebuffer path on WebGL 2.0 (falls back to VAO on Firefox < 67)
44074407 'gl2_no_aa' : (['-sMAX_WEBGL_VERSION=2' , '-DTEST_WEBGL2=1' , '-DTEST_ANTIALIAS=0' ],),
44084408 })
4409- def test_webgl_offscreen_framebuffer_state_restoration (self , args , skip_vao = False ):
4410- cmd = args + ['-lGL' , '-sOFFSCREEN_FRAMEBUFFER' , '-DEXPLICIT_SWAP=1' ]
4411- self .btest_exit ('webgl_offscreen_framebuffer_swap_with_bad_state.c' , args = cmd )
4409+ def test_webgl_offscreen_framebuffer_state_restoration (self , args ):
4410+ base_args = ['-lGL' , '-sOFFSCREEN_FRAMEBUFFER' , '-DEXPLICIT_SWAP=1' ]
4411+ self .btest_exit ('webgl_offscreen_framebuffer_swap_with_bad_state.c' , args = base_args + args )
44124412
44134413 @parameterized ({
44144414 '' : ([],),
@@ -5017,7 +5017,7 @@ def test_offset_converter(self, args):
50175017 self .btest_exit ('test_offset_converter.c' , args = ['-sUSE_OFFSET_CONVERTER' , '-gsource-map' ] + args )
50185018
50195019 # Tests emscripten_unwind_to_js_event_loop() behavior
5020- def test_emscripten_unwind_to_js_event_loop (self , * args ):
5020+ def test_emscripten_unwind_to_js_event_loop (self ):
50215021 self .btest_exit ('test_emscripten_unwind_to_js_event_loop.c' )
50225022
50235023 @requires_wasm2js
@@ -5358,7 +5358,7 @@ def test_wasmfs_opfs_errors(self):
53585358 self .btest (test , args = args , expected = '0' )
53595359
53605360 @no_firefox ('no 4GB support yet' )
5361- def test_emmalloc_memgrowth (self , * args ):
5361+ def test_emmalloc_memgrowth (self ):
53625362 if not self .is_4gb ():
53635363 self .set_setting ('MAXIMUM_MEMORY' , '4GB' )
53645364 self .btest_exit ('emmalloc_memgrowth.cpp' , args = ['-sMALLOC=emmalloc' , '-sALLOW_MEMORY_GROWTH=1' , '-sABORTING_MALLOC=0' , '-sASSERTIONS=2' , '-sMINIMAL_RUNTIME=1' ])
0 commit comments