From a23b5496f9d7e5a5f4f7c42d87c0148c6785471f Mon Sep 17 00:00:00 2001 From: Ben Boeckel <ben.boeckel@kitware.com> Date: Tue, 3 Dec 2024 14:39:31 -0500 Subject: [PATCH] Parallel/Core/Testing: fix `TestSocketCommunicator` execution Use the new `FindPython3` module's variable for the Python executable. Fixes: #19542 --- .gitlab/ci/ctest_exclusions.cmake | 4 +--- Parallel/Core/Testing/Cxx/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab/ci/ctest_exclusions.cmake b/.gitlab/ci/ctest_exclusions.cmake index 4a570340596..ace58550a79 100644 --- a/.gitlab/ci/ctest_exclusions.cmake +++ b/.gitlab/ci/ctest_exclusions.cmake @@ -4,9 +4,7 @@ set(test_exclusions # https://gitlab.kitware.com/vtk/vtk/-/issues/19427 "^VTK::RenderingOpenGL2Cxx-TestGlyph3DMapperPickability$" # https://gitlab.kitware.com/vtk/vtk/-/issues/19544 - "^vtkRenderingParallel-TestClientServerRendering$" - # https://gitlab.kitware.com/vtk/vtk/-/issues/19542 - "^vtkParallelCore-TestSocketCommunicator$") + "^vtkRenderingParallel-TestClientServerRendering$") if (NOT "$ENV{CMAKE_CONFIGURATION}" MATCHES "windows") list(APPEND test_exclusions diff --git a/Parallel/Core/Testing/Cxx/CMakeLists.txt b/Parallel/Core/Testing/Cxx/CMakeLists.txt index 13feab9e4c3..1eceefb0c63 100644 --- a/Parallel/Core/Testing/Cxx/CMakeLists.txt +++ b/Parallel/Core/Testing/Cxx/CMakeLists.txt @@ -11,7 +11,7 @@ if (Python3_EXECUTABLE) vtkParallelCore-TestSocketCommunicator TestSocketCommunicator.cxx) add_test(NAME vtkParallelCore-TestSocketCommunicator - COMMAND ${PYTHON_EXECUTABLE} + COMMAND ${Python3_EXECUTABLE} ${VTK_SOURCE_DIR}/CMake/vtkTestDriver.py # indicate that the processes are not run sequentially, --process -- GitLab