From 5ee3a7bd1bc9a552494ee52b35e8d6b5a4177045 Mon Sep 17 00:00:00 2001 From: Cyrille Valladeau <cyrille.valladeau@c-s.fr> Date: Thu, 26 May 2011 10:35:33 +0200 Subject: [PATCH] ENH: reduce input image (timeout) --- Examples/FeatureExtraction/CMakeLists.txt | 6 +++--- Examples/IO/CMakeLists.txt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Examples/FeatureExtraction/CMakeLists.txt b/Examples/FeatureExtraction/CMakeLists.txt index 9117cd3279..541103697f 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 00bb81a1fc..072d9837a6 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 -- GitLab