@@ -1241,7 +1241,7 @@ def test_glfw_joystick(self):
1241
1241
};
1242
1242
''' )
1243
1243
1244
- self .btest_exit (test_file ('test_glfw_joystick.c' ), args = ['-O2' , '--minify=0' , '-o' , 'page.html' , '--pre-js' , 'pre.js' , '-lGL' , '-lglfw3' , '-sUSE_GLFW=3' ])
1244
+ self .btest_exit (test_file ('browser/ test_glfw_joystick.c' ), args = ['-O2' , '--minify=0' , '-o' , 'page.html' , '--pre-js' , 'pre.js' , '-lGL' , '-lglfw3' , '-sUSE_GLFW=3' ])
1245
1245
1246
1246
@requires_graphics_hardware
1247
1247
def test_webgl_context_attributes (self ):
@@ -1580,15 +1580,15 @@ def test_sdl_fog_linear(self):
1580
1580
1581
1581
@requires_graphics_hardware
1582
1582
def test_glfw (self ):
1583
- self .btest_exit ('glfw .c' , args = ['-sLEGACY_GL_EMULATION' , '-lglfw' , '-lGL' ])
1584
- self .btest_exit ('glfw .c' , args = ['-sLEGACY_GL_EMULATION' , '-sUSE_GLFW=2' , '-lglfw' , '-lGL' ])
1583
+ self .btest_exit ('browser/test_glfw .c' , args = ['-sLEGACY_GL_EMULATION' , '-lglfw' , '-lGL' ])
1584
+ self .btest_exit ('browser/test_glfw .c' , args = ['-sLEGACY_GL_EMULATION' , '-sUSE_GLFW=2' , '-lglfw' , '-lGL' ])
1585
1585
1586
1586
def test_glfw_minimal (self ):
1587
- self .btest_exit ('glfw_minimal .c' , args = ['-lglfw' , '-lGL' ])
1588
- self .btest_exit ('glfw_minimal .c' , args = ['-sUSE_GLFW=2' , '-lglfw' , '-lGL' ])
1587
+ self .btest_exit ('browser/test_glfw_minimal .c' , args = ['-lglfw' , '-lGL' ])
1588
+ self .btest_exit ('browser/test_glfw_minimal .c' , args = ['-sUSE_GLFW=2' , '-lglfw' , '-lGL' ])
1589
1589
1590
1590
def test_glfw_time (self ):
1591
- self .btest_exit ('test_glfw_time.c' , args = ['-sUSE_GLFW=3' , '-lglfw' , '-lGL' ])
1591
+ self .btest_exit ('browser/ test_glfw_time.c' , args = ['-sUSE_GLFW=3' , '-lglfw' , '-lGL' ])
1592
1592
1593
1593
def _test_egl_base (self , * args ):
1594
1594
self .btest_exit (test_file ('test_egl.c' ), args = ['-O2' , '-lEGL' , '-lGL' ] + list (args ))
@@ -2881,12 +2881,12 @@ def in_html(expected):
2881
2881
def test_glfw3 (self , args ):
2882
2882
for opts in [[], ['-sLEGACY_GL_EMULATION' ], ['-Os' , '--closure=1' ]]:
2883
2883
print (opts )
2884
- self .btest (test_file ('glfw3 .c' ), args = ['-sUSE_GLFW=3' , '-lglfw' , '-lGL' ] + args + opts , expected = '1' )
2884
+ self .btest (test_file ('browser/test_glfw3 .c' ), args = ['-sUSE_GLFW=3' , '-lglfw' , '-lGL' ] + args + opts , expected = '1' )
2885
2885
2886
2886
@requires_graphics_hardware
2887
2887
def test_glfw_events (self ):
2888
- self .btest (test_file ('glfw_events .c' ), args = ['-sUSE_GLFW=2' , "-DUSE_GLFW=2" , '-lglfw' , '-lGL' ], expected = '1' )
2889
- self .btest (test_file ('glfw_events .c' ), args = ['-sUSE_GLFW=3' , "-DUSE_GLFW=3" , '-lglfw' , '-lGL' ], expected = '1' )
2888
+ self .btest (test_file ('browser/test_glfw_events .c' ), args = ['-sUSE_GLFW=2' , "-DUSE_GLFW=2" , '-lglfw' , '-lGL' ], expected = '1' )
2889
+ self .btest (test_file ('browser/test_glfw_events .c' ), args = ['-sUSE_GLFW=3' , "-DUSE_GLFW=3" , '-lglfw' , '-lGL' ], expected = '1' )
2890
2890
2891
2891
@requires_graphics_hardware
2892
2892
def test_sdl2_image (self ):
0 commit comments