]> OCCT Git - occt.git/commit
Testing - Update tests with direct VIS loading #148
authordpasukhi <dpasukhi@opencascade.com>
Tue, 5 Nov 2024 19:45:59 +0000 (19:45 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Tue, 5 Nov 2024 19:45:59 +0000 (19:45 +0000)
commit05ec4972c3288b34497510f768184ae15a818842
tree71cf0c26eed08fadc915a6b674506e28620a3c2e
parentea86bfe2fa131a92b95f237be45ca0ac419ad09a
Testing - Update tests with direct VIS loading #148

XShow and XDisplay XDE require VISUALIZATION for correct work.
In some scenario DRAWEXE can generate a duplicates of the internal static singletons.
This means each dynamic library will have their own instance of the static singleton.
Update all direct library loading to use the XDE plugin mechanism.
This will ensure that the XDE plugin is loaded only once and that the correct instance is used.
Originally issue is reproduced only Linux with dlopen with "RTLD_LAZY".
Can be resolved additionally adding "RTLD_LAZY | RTLD_GLOBAL" for dlopen
16 files changed:
tests/de_mesh/gltf_lateload/begin
tests/de_mesh/gltf_read/begin
tests/de_mesh/gltf_write/begin
tests/de_mesh/obj_read/begin
tests/de_mesh/obj_write/as1
tests/de_mesh/obj_write/ball
tests/de_mesh/obj_write/lantern
tests/de_mesh/obj_write/mustang
tests/de_mesh/obj_write/ship_boat
tests/de_mesh/step_read/begin
tests/de_mesh/step_write/begin
tests/de_mesh/vrml_read/begin
tests/v3d/bugs/bug23123
tests/v3d/bugs/bug23407_1
tests/v3d/materials/bug27818_2
tests/v3d/materials/materials