mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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:
parent
0e80270494
commit
0807e67ee5
1 changed files with 9 additions and 0 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue