diff --git a/scripts/cmake/test/NotebookTest.cmake b/scripts/cmake/test/NotebookTest.cmake index 2d52dfba410bb9769096d61601c7102884924ada..06bf0484cb3b154fb9e2a6616fef819cbaa9b0d5 100644 --- a/scripts/cmake/test/NotebookTest.cmake +++ b/scripts/cmake/test/NotebookTest.cmake @@ -54,27 +54,6 @@ function(NotebookTest) ) endif() - if(UNIX - AND NOT APPLE - AND (DEFINED ENV{PYVISTA_HEADLESS} OR DEFINED ENV{CI}) - AND "${_pyvista_check}" GREATER 0 - ) - find_program(XVFB_TOOL_PATH Xvfb) - if(NOT XVFB_TOOL_PATH) - message( - VERBOSE - "Disabled NotebookTest ${NotebookTest_NOTEBOOKFILE} because of" - " missing Xvfb tool which is required for PyVista headless on Linux." - ) - return() - endif() - endif() - - if("${_pyvista_check}" GREATER 0) - list(APPEND _props RESOURCE_LOCK PYVISTA) - message(VERBOSE "PyVista detected in notebookk: ${NotebookTest_NAME}") - endif() - set(timeout ${ogs.ctest.large_runtime}) if(DEFINED NotebookTest_RUNTIME) math(EXPR timeout "${NotebookTest_RUNTIME} * 5")