Skip to content

Commit 215f4de

Browse files
authored
Merge pull request #5281 from SimonRit/WrapITK.pth
BUG: Remove check on WrapITK.pth existence in itk_python_add_test
2 parents ad98d7e + 71d5cce commit 215f4de

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

CMake/ITKModuleTest.cmake

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,6 @@ function(itk_python_add_test)
153153
else()
154154
set(itk_wrap_python_binary_dir "${ITK_BINARY_DIR}/Wrapping/Generators/Python")
155155
endif()
156-
# itk_wrap_python_binary_dir *MUST* contain the WrapITK.pth file
157-
# Final installed version of ITK will leverage the WrapITK.pth paths, so
158-
# the test environment should also use those same paths.
159-
set(WrapITK_PTH_FILE "${itk_wrap_python_binary_dir}/WrapITK.pth")
160-
if(NOT EXISTS ${WrapITK_PTH_FILE})
161-
message(FATAL_ERROR "${WrapITK_PTH_FILE} must exist.")
162-
endif()
163-
unset(WrapITK_PTH_FILE)
164156

165157
itk_add_test(
166158
NAME

0 commit comments

Comments
 (0)