@@ -1867,8 +1867,8 @@ def test_emscripten_fs_api(self):
1867
1867
self .btest_exit ('emscripten_fs_api_browser.c' , assert_returncode = 1 , args = ['-lSDL' ])
1868
1868
1869
1869
def test_emscripten_fs_api2 (self ):
1870
- self .btest_exit ('emscripten_fs_api_browser2.c' , assert_returncode = 1 , args = ['-s' , "ASSERTIONS=0" ])
1871
- self .btest_exit ('emscripten_fs_api_browser2.c' , assert_returncode = 1 , args = ['-s' , "ASSERTIONS=1" ])
1870
+ self .btest_exit ('emscripten_fs_api_browser2.c' , assert_returncode = 1 , args = ['-sASSERTIONS=0' ])
1871
+ self .btest_exit ('emscripten_fs_api_browser2.c' , assert_returncode = 1 , args = ['-sASSERTIONS=1' ])
1872
1872
1873
1873
@requires_threads
1874
1874
def test_emscripten_main_loop (self ):
@@ -4717,10 +4717,10 @@ def test_pthread_run_script(self):
4717
4717
def test_emscripten_animate_canvas_element_size (self ):
4718
4718
for args in [
4719
4719
['-DTEST_EMSCRIPTEN_SET_MAIN_LOOP=1' ],
4720
- ['-DTEST_EMSCRIPTEN_SET_MAIN_LOOP=1' , '-sPROXY_TO_PTHREAD' , '-sUSE_PTHREADS' , '-s' , 'OFFSCREEN_FRAMEBUFFER=1 ' ],
4721
- ['-DTEST_EMSCRIPTEN_SET_MAIN_LOOP=1' , '-sPROXY_TO_PTHREAD' , '-sUSE_PTHREADS' , '-s' , 'OFFSCREEN_FRAMEBUFFER=1 ' , '-DTEST_EXPLICIT_CONTEXT_SWAP=1' ],
4722
- ['-DTEST_EXPLICIT_CONTEXT_SWAP=1' , '-sPROXY_TO_PTHREAD' , '-sUSE_PTHREADS' , '-s' , 'OFFSCREEN_FRAMEBUFFER=1 ' ],
4723
- ['-DTEST_EXPLICIT_CONTEXT_SWAP=1' , '-sPROXY_TO_PTHREAD' , '-sUSE_PTHREADS' , '-s' , 'OFFSCREEN_FRAMEBUFFER=1 ' , '-DTEST_MANUALLY_SET_ELEMENT_CSS_SIZE=1' ],
4720
+ ['-DTEST_EMSCRIPTEN_SET_MAIN_LOOP=1' , '-sPROXY_TO_PTHREAD' , '-sUSE_PTHREADS' , '-sOFFSCREEN_FRAMEBUFFER ' ],
4721
+ ['-DTEST_EMSCRIPTEN_SET_MAIN_LOOP=1' , '-sPROXY_TO_PTHREAD' , '-sUSE_PTHREADS' , '-sOFFSCREEN_FRAMEBUFFER ' , '-DTEST_EXPLICIT_CONTEXT_SWAP=1' ],
4722
+ ['-DTEST_EXPLICIT_CONTEXT_SWAP=1' , '-sPROXY_TO_PTHREAD' , '-sUSE_PTHREADS' , '-sOFFSCREEN_FRAMEBUFFER ' ],
4723
+ ['-DTEST_EXPLICIT_CONTEXT_SWAP=1' , '-sPROXY_TO_PTHREAD' , '-sUSE_PTHREADS' , '-sOFFSCREEN_FRAMEBUFFER ' , '-DTEST_MANUALLY_SET_ELEMENT_CSS_SIZE=1' ],
4724
4724
['-DTEST_EMSCRIPTEN_SET_MAIN_LOOP=1' , '-sOFFSCREENCANVAS_SUPPORT' ],
4725
4725
]:
4726
4726
cmd = ['-lGL' , '-O3' , '-g2' , '--shell-file' , test_file ('canvas_animate_resize_shell.html' ), '-sGL_DEBUG' , '--threadprofiler' , '-sASSERTIONS' ] + args
0 commit comments