X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tests%2Ftools%2FCMakeLists.txt;h=d505c8a739ba7a4df0fd537e760bfe5be4aeaa30;hb=6808027e48645d72771bbb0e342e8be47dd0ea92;hp=c87899ac5c953156697dbc2513454e28cffa16df;hpb=b143dd944c54d00daa570087d20ca7ac859bdcb3;p=clitk.git diff --git a/tests/tools/CMakeLists.txt b/tests/tools/CMakeLists.txt index c87899a..d505c8a 100644 --- a/tests/tools/CMakeLists.txt +++ b/tests/tools/CMakeLists.txt @@ -4,11 +4,6 @@ include_directories( ${GTEST_DIR}/include ) -SET (CUSTOM_TEST_SRC - clitkImageInfoTest.cxx - vvMainTest.cxx -) - SET(BUILDNAME ${BUILDNAME}_tools CACHE INTERNAL DOCSTRING) ADD_DEFINITIONS(-DCLITK_TEST_TOOLS_PATH=\"${PROJECT_BINARY_DIR}/bin/\") SET (srcs @@ -16,7 +11,7 @@ SET (srcs ) ADD_EXECUTABLE(toolTestRunner ${srcs}) -TARGET_LINK_LIBRARIES(toolTestRunner vvLib ${vvExternalLibs}) +TARGET_LINK_LIBRARIES(toolTestRunner ${ITK_LIBRARIES}) SET(exe ${EXECUTABLE_OUTPUT_PATH}/toolTestRunner) SET(p ${CLITK_TEST_DATA_PATH}) #========================================================= @@ -75,8 +70,10 @@ ADD_TEST(clitkMorphoMath4_4d ${exe} clitkMorphoMath -i ${p}Deformation4D.mhd -o ADD_TEST(clitkMorphoMath5_4d ${exe} clitkMorphoMath -i ${p}Deformation4D.mhd -o Deformation4D_ref.morphoMath.t5.mhd ${p}Deformation4D_ref.morphoMath.t5.mhd) #========================================================= #clitkSetBackground -ADD_TEST(clitkSetBackground_4d ${exe} clitkSetBackground -i ${p}Deformation4D.mhd -o Deformation4D_ref.setBackground.mhd ${p}Deformation4D_ref.setBackground.mhd) -ADD_TEST(clitkSetBackground_3d ${exe} clitkSetBackground -i ${p}Lung3D.mhd -o Lung3D_ref.setBackground.mhd ${p}Lung3D_ref.setBackground.mhd) +ADD_TEST(clitkSetBackground_4d ${exe} clitkSetBackground -i ${p}Deformation4D.mhd -m ${p}Deformation4D.mhd -o Deformation4D_ref.setBackground.mhd ${p}Deformation4D_ref.setBackground.mhd) +ADD_TEST(clitkSetBackground_3d ${exe} clitkSetBackground -i ${p}Lung3D.mhd -m ${p}Lung3D.mhd -o Lung3D_ref.setBackground.mhd ${p}Lung3D_ref.setBackground.mhd) +#clitkWarpImage +ADD_TEST(clitkWarpImage_3d ${exe} clitkWarpImage -i ${p}00-P.mhd --vf ${p}vf50-P_1.mhd -o 00-P_ref.warpImage.mhd ${p}00-P_ref.warpImage.mhd)