From 613dcc84930b58667ba1f68186d7bbb302c6dab0 Mon Sep 17 00:00:00 2001 From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org> Date: Tue, 25 Jun 2013 11:35:11 +0200 Subject: [PATCH] TEST: color mapping application tests are no longer dependents Not that instead of using output of one application as input. I used Baseline data of the first application as input of the second one. It does not strickly break the dependency between the tests but avoid to push new images to the OTB-Data repository. --- Testing/Applications/Utils/CMakeLists.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Testing/Applications/Utils/CMakeLists.txt b/Testing/Applications/Utils/CMakeLists.txt index 770d4b5175..07809175ba 100644 --- a/Testing/Applications/Utils/CMakeLists.txt +++ b/Testing/Applications/Utils/CMakeLists.txt @@ -1,4 +1,3 @@ - #--- Rescale ---# OTB_TEST_APPLICATION(NAME apTvUtRescaleTest APP Rescale @@ -325,7 +324,7 @@ OTB_TEST_APPLICATION(NAME apTvUtColorMappingLabelToColorCustomLUTQB OTB_TEST_APPLICATION(NAME apTvUtColorMappingColorToLabelCustomLUTQB APP ColorMapping - OPTIONS -in ${TEMP}/apTvUtColorMappingLabelToColorCustomLUTQB.tif + OPTIONS -in ${BASELINE}/apTvUtColorMappingLabelToColorCustomLUTQB.tif -op colortolabel -op.colortolabel.notfound 0 -method custom @@ -335,7 +334,7 @@ OTB_TEST_APPLICATION(NAME apTvUtColorMappingColorToLabelCustomLUTQB ${EXAMPLEDATA}/ROI_QB_MUL_1_SVN_CLASS_MULTI.png ${TEMP}/apTvUtColorMappingColorToLabelCustomLUTQB.tif) -SET_TESTS_PROPERTIES(apTvUtColorMappingColorToLabelCustomLUTQB PROPERTIES DEPENDS apTvUtColorMappingLabelToColorCustomLUTQB) +#SET_TESTS_PROPERTIES(apTvUtColorMappingColorToLabelCustomLUTQB PROPERTIES DEPENDS apTvUtColorMappingLabelToColorCustomLUTQB) OTB_TEST_APPLICATION(NAME apTvUtColorMappingLabelToColorCustomLUT @@ -359,7 +358,7 @@ OTB_TEST_APPLICATION(NAME apTvUtColorMappingLabelToColorOptimalLUTQB OTB_TEST_APPLICATION(NAME apTvUtColorMappingColorToLabelOptimalLUTQB APP ColorMapping - OPTIONS -in ${TEMP}/apTvUtColorMappingLabelToColorOptimalLUTQB.tif + OPTIONS -in ${BASELINE}/apTvUtColorMappingLabelToColorOptimalLUTQB.tif -method optimal -op colortolabel -op.colortolabel.notfound 0 @@ -368,7 +367,7 @@ OTB_TEST_APPLICATION(NAME apTvUtColorMappingColorToLabelOptimalLUTQB ${BASELINE}/apTvUtColorMappingColorToLabelOptimalLUTQB.tif ${TEMP}/apTvUtColorMappingColorToLabelOptimalLUTQB.tif) -SET_TESTS_PROPERTIES(apTvUtColorMappingColorToLabelOptimalLUTQB PROPERTIES DEPENDS apTvUtColorMappingLabelToColorOptimalLUTQB) +#SET_TESTS_PROPERTIES(apTvUtColorMappingColorToLabelOptimalLUTQB PROPERTIES DEPENDS apTvUtColorMappingLabelToColorOptimalLUTQB) OTB_TEST_APPLICATION(NAME apTvUtColorMappingLabelToColorOptimalLUT @@ -382,7 +381,7 @@ OTB_TEST_APPLICATION(NAME apTvUtColorMappingLabelToColorOptimalLUT OTB_TEST_APPLICATION(NAME apTvUtColorMappingColorToLabelOptimalLUT APP ColorMapping - OPTIONS -in ${TEMP}/apTvUtColorMappingLabelToColorOptimalLUT.tif + OPTIONS -in ${BASELINE}/apTvUtColorMappingLabelToColorOptimalLUT.tif -op colortolabel -op.colortolabel.notfound 255 -method optimal @@ -391,7 +390,7 @@ OTB_TEST_APPLICATION(NAME apTvUtColorMappingColorToLabelOptimalLUT ${INPUTDATA}/labelImage_UnsignedChar.tif ${TEMP}/apTvUtColorMappingColorToLabelOptimalLUT.tif) -SET_TESTS_PROPERTIES(apTvUtColorMappingColorToLabelOptimalLUT PROPERTIES DEPENDS apTvUtColorMappingLabelToLabelOptimalLUT) +#SET_TESTS_PROPERTIES(apTvUtColorMappingColorToLabelOptimalLUT PROPERTIES DEPENDS apTvUtColorMappingLabelToLabelOptimalLUT) OTB_TEST_APPLICATION(NAME apTvUtColorMappingLabelToColorSupportImage APP ColorMapping -- GitLab