Skip to content

Commit 7514cc2

Browse files
authored
Fix broken compilation of regal tests (#21248)
This should have been part of #21096. These failures don't show up in CI because they are disabled under swiftshader.
1 parent f065b75 commit 7514cc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_browser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,7 +2080,7 @@ def test_cubegeom_pre(self):
20802080
@requires_graphics_hardware
20812081
@no_swiftshader
20822082
def test_cubegeom_pre_regal(self):
2083-
self.btest('third_party/cubegeom/cubegeom_pre.c', reference='third_party/cubegeom/cubegeom_pre.png', args=['-sUSE_REGAL', '-DUSE_REGAL', '-lGL', '-lSDL'])
2083+
self.btest('third_party/cubegeom/cubegeom_pre.c', reference='third_party/cubegeom/cubegeom_pre.png', args=['-sUSE_REGAL', '-DUSE_REGAL', '-lGL', '-lSDL', '-lc++', '-lc++abi'])
20842084

20852085
@requires_graphics_hardware
20862086
@no_swiftshader
@@ -2199,7 +2199,7 @@ def test_cubegeom_pre_vao(self):
21992199
@requires_graphics_hardware
22002200
@no_swiftshader
22012201
def test_cubegeom_pre_vao_regal(self):
2202-
self.btest('third_party/cubegeom/cubegeom_pre_vao.c', reference='third_party/cubegeom/cubegeom_pre_vao.png', args=['-sUSE_REGAL', '-DUSE_REGAL', '-lGL', '-lSDL'])
2202+
self.btest('third_party/cubegeom/cubegeom_pre_vao.c', reference='third_party/cubegeom/cubegeom_pre_vao.png', args=['-sUSE_REGAL', '-DUSE_REGAL', '-lGL', '-lSDL', '-lc++', '-lc++abi'])
22032203

22042204
@requires_graphics_hardware
22052205
@no_swiftshader

0 commit comments

Comments
 (0)