@@ -236,14 +236,6 @@ def setUpClass(cls):
236
236
print ('Running the browser tests. Make sure the browser allows popups from localhost.' )
237
237
print ()
238
238
239
- def setUp (self ):
240
- super ().setUp ()
241
- # avoid various compiler warnings that many browser tests currently generate
242
- self .emcc_args += [
243
- '-Wno-pointer-sign' ,
244
- '-Wno-int-conversion' ,
245
- ]
246
-
247
239
def proxy_to_worker (self ):
248
240
self .emcc_args += ['--proxy-to-worker' , '-sGL_TESTING' ]
249
241
@@ -1784,7 +1776,7 @@ def test_glgears_animation(self, filename):
1784
1776
1785
1777
@requires_graphics_hardware
1786
1778
def test_fulles2_sdlproc (self ):
1787
- self .btest_exit ('full_es2_sdlproc.c' , assert_returncode = 1 , args = ['-sGL_TESTING' , '-DHAVE_BUILTIN_SINCOS' , '-sFULL_ES2' , '-lGL' , '-lSDL' , '-lglut' , '-sGL_ENABLE_GET_PROC_ADDRESS' ])
1779
+ self .btest_exit ('full_es2_sdlproc.c' , args = ['-sGL_TESTING' , '-DHAVE_BUILTIN_SINCOS' , '-sFULL_ES2' , '-lGL' , '-lSDL' , '-lglut' , '-sGL_ENABLE_GET_PROC_ADDRESS' , '-Wno-int-conversion ' ])
1788
1780
1789
1781
@requires_graphics_hardware
1790
1782
def test_glgears_deriv (self ):
@@ -1850,7 +1842,7 @@ def test_gles2_emulation(self, args):
1850
1842
test_file ('third_party/glbook/Common/esShader.c' ),
1851
1843
test_file ('third_party/glbook/Common/esShapes.c' ),
1852
1844
test_file ('third_party/glbook/Common/esTransform.c' ),
1853
- '-lGL' , '-lEGL' , '-lX11' ,
1845
+ '-lGL' , '-lEGL' , '-lX11' , '-Wno-int-conversion' , '-Wno-pointer-sign' ,
1854
1846
'--preload-file' , 'basemap.tga' , '--preload-file' , 'lightmap.tga' , '--preload-file' , 'smoke.tga' ] + args )
1855
1847
1856
1848
@requires_graphics_hardware
0 commit comments