diff --git a/test/test_browser.py b/test/test_browser.py index d67c8552c73b7..11e643b96f5c9 100644 --- a/test/test_browser.py +++ b/test/test_browser.py @@ -2086,7 +2086,10 @@ def test_cubegeom_pre_regal(self): @requires_graphics_hardware @no_swiftshader def test_cubegeom_pre_relocatable(self): - self.btest('third_party/cubegeom/cubegeom_pre.c', reference='third_party/cubegeom/cubegeom_pre.png', args=['-sLEGACY_GL_EMULATION', '-lGL', '-lSDL', '-sRELOCATABLE']) + # RELOCATABLE needs to be set via `set_setting` so that it will also apply when + # building `browser_reporting.c` + self.set_setting('RELOCATABLE') + self.btest('third_party/cubegeom/cubegeom_pre.c', reference='third_party/cubegeom/cubegeom_pre.png', args=['-sLEGACY_GL_EMULATION', '-lGL', '-lSDL']) @no_wasm64('wasm64 + LEGACY_GL_EMULATION') @requires_graphics_hardware