Tests: Disable test_open_editor_types on OpenGL.

test_open_editor_types opens many areas, each requiring its own
GLContext. The maximum number of available contexts is driver
implementation and cannot be queried. We disable the test on OpenGL
platforms.

It is safe to use on Vulkan/Metal as they don't have a context.

Pull Request: https://projects.blender.org/blender/blender/pulls/163736
This commit is contained in:
Jeroen Bakker 2026-09-10 10:57:27 +02:00
parent 0e80270494
commit 0807e67ee5

View file

@ -1848,6 +1848,15 @@ if(WITH_UI_TESTS)
)
endforeach()
unset(_ui_tests)
# test_open_editor_types opens many areas, each needing its own GLContext.
# The number of available context is limit by driver and not queryable.
if(WITH_OPENGL_BACKEND)
set_tests_properties(
ui_opengl_test_editor_types.test_open_editor_types
PROPERTIES DISABLED TRUE
)
endif()
endif()