diff --git a/Examples/FeatureExtraction/CMakeLists.txt b/Examples/FeatureExtraction/CMakeLists.txt index 9117cd3279ac7f7fa2654503b9f1906d0c8a55e0..541103697f3c7934303f5d027e95a154109e3ed0 100644 --- a/Examples/FeatureExtraction/CMakeLists.txt +++ b/Examples/FeatureExtraction/CMakeLists.txt @@ -106,8 +106,8 @@ TARGET_LINK_LIBRARIES(EdgeDensityExample OTBIO OTBCommon OTBBasicFilters ITKComm IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING ) SET(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/FeatureExtraction) - SET(INPUTDATA ${OTB_DATA_ROOT}/Examples) +SET(INPUTDATA_OTB ${OTB_DATA_ROOT}/Input) SET(TEMP ${OTB_BINARY_DIR}/Testing/Temporary) SET(EXE_TESTS1 ${CXX_TEST_PATH}/otbFeatureExtractionExamplesTests1) @@ -177,7 +177,7 @@ ADD_TEST(feTeExtractSegmentsByStepsExampleTest ${EXE_TESTS1} ${BASELINE}/amstSegmentExtractionBySteps.png ${TEMP}/amstSegmentExtractionBySteps.png ExtractSegmentsByStepsExampleTest - ${INPUTDATA}/amst.png + ${INPUTDATA_OTB}/amst_ers1.ima.extrait.419_187_70_66.hdr ${TEMP}/amstSegmentExtractionBySteps.png 10 3 10 0.5 10 10 3 10 0.5 ) @@ -201,7 +201,7 @@ ADD_TEST(feTeExtractSegmentsExampleTest ${EXE_TESTS1} ${BASELINE}/amstSegmentExtraction.png ${TEMP}/amstSegmentExtraction.png ExtractSegmentsExampleTest - ${INPUTDATA}/amst.png + ${INPUTDATA_OTB}/amst_ers1.ima.extrait.419_187_70_66.hdr ${TEMP}/amstSegmentExtraction.png 10 3 10 0.5 10 10 3 10 0.5 ) diff --git a/Examples/IO/CMakeLists.txt b/Examples/IO/CMakeLists.txt index 00bb81a1fc5b5ecfcb1bcfe6c1b35a86d7431401..072d9837a6a52a3e3c6bbe4033ee19041fd27827 100644 --- a/Examples/IO/CMakeLists.txt +++ b/Examples/IO/CMakeLists.txt @@ -237,7 +237,7 @@ ADD_TEST(ioTeLidarToImageExampleTest ${EXE_TESTS3} --compare-image ${NOTOL} ${BASELINE}/lidar-image-4.hdr ${TEMP}/lidar-image-4.hdr LidarToImageExampleTest - ${DATA}/TO_core_last_zoom.las + ${DATA}/srs.las ${TEMP}/lidar-image-4.hdr ${TEMP}/lidar-image-4.png 1.0 @@ -248,7 +248,7 @@ ADD_TEST(ioTeLidarToImageExample2Test ${EXE_TESTS3} --compare-image ${NOTOL} ${BASELINE}/lidar-image-8.hdr ${TEMP}/lidar-image-8.hdr LidarToImageExampleTest - ${DATA}/TO_core_last_zoom.las + ${DATA}/srs.las ${TEMP}/lidar-image-8.hdr ${TEMP}/lidar-image-8.png 1.0