Page MenuHomePhabricator

Debug vtkOpenGLRenderWindow::SupportsOpenGL() on Windows CI clients
Closed, ResolvedPublic

Description

Since VTK 9, vtkOpenGLRenderWindow::SupportsOpenGL() (called by mitk::RenderingTestHelper) seems to return true even though it is not the case, resulting in failing rendering tests instead of skipping them as before.

Event Timeline

kislinsk triaged this task as Unbreak Now! priority.Nov 15 2020, 12:37 PM
kislinsk created this task.
kislinsk edited projects, added MITK (v2021.02); removed MITK.

It is not an OpenGL problem but a Windows policy that prevents remote SSH users to actually start GUI applications. It wasn't triggered before as VTK's OpenGL test succeeds now.

I added the label "Rendering Tests" to all rendering tests so that CTest can be executed with --label-exclude "Rendering Tests" if necessary.

I introduced the new variable MODULE_RENDERING_TESTS besides the already established MODULE_TESTS to discriminate rendering tests, as well as mitkAddCustomModuleRenderingTest() as a wrapper function for mitkAddCustomModuleTest().

Deleted branch bugfix/T27955-FixRenderingTestHelper.

Deleted branch bugfix/T27955-RenderingTestsSerialRun.