Commit 6dd6c35e authored by Christophe Palmann's avatar Christophe Palmann

TEST: rmved some tests related to projections and metadata (ref inside CMakeLists.txt)

parent 679695bb
......@@ -108,45 +108,45 @@ otb_test_application(NAME apTuUtReadImageInfoExtendedFilename_reader
OPTIONS -in ${INPUTDATA}/ToulouseExtract_WithGeom.tif?&skipgeom=true&skipcarto=true
)
otb_test_application(NAME apTvUtReadImageInfoRpcTag
APP ReadImageInfo
OPTIONS -in ${INPUTDATA}/QB_TOULOUSE_RpcTag_100_100.tif
-outkwl ${TEMP}/apTvUtReadImageInfoRpcTag.geom
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/apTvUtReadImageInfoRpcTag.geom
${TEMP}/apTvUtReadImageInfoRpcTag.geom)
otb_test_application(NAME apTvUtReadImageInfoTest
APP ReadImageInfo
OPTIONS -in ${INPUTDATA}/poupees.tif
TESTENVOPTIONS ${TEMP}/apTvUtReadImageInfoTest.txt
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/apTvUtReadImageInfoTest.txt
${TEMP}/apTvUtReadImageInfoTest.txt)
otb_test_application(NAME apTvUtReadImageInfoSpot5
APP ReadImageInfo
OPTIONS -in LARGEINPUT{SPOT5/TEHERAN/IMAGERY.TIF}
TESTENVOPTIONS ${TEMP}/apTvUtReadImageInfoSpot5.txt
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/apTvUtReadImageInfoSpot5.txt
${TEMP}/apTvUtReadImageInfoSpot5.txt)
otb_test_application(NAME apTvUtReadImageInfoERS
APP ReadImageInfo
OPTIONS -in LARGEINPUT{SAR_ERS2_SLCI_SCENE1/DAT_01.001}
TESTENVOPTIONS ${TEMP}/apTvUtReadImageInfoERS.txt
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/apTvUtReadImageInfoERS.txt
${TEMP}/apTvUtReadImageInfoERS.txt)
otb_test_application(NAME apTvUtReadImageInfoRADARSAT1
APP ReadImageInfo
OPTIONS -in LARGEINPUT{RADARSAT1/GOMA/SCENE01/DAT_01.001}
TESTENVOPTIONS ${TEMP}/apTvUtReadImageInfoRADARSAT1.txt
VALID --compare-ascii ${EPSILON_7}
${BASELINE_FILES}/apTvUtReadImageInfoRADARSAT1.txt
${TEMP}/apTvUtReadImageInfoRADARSAT1.txt)
##>otb_test_application(NAME apTvUtReadImageInfoRpcTag
##>APP ReadImageInfo
##>OPTIONS -in ${INPUTDATA}/QB_TOULOUSE_RpcTag_100_100.tif
##>-outkwl ${TEMP}/apTvUtReadImageInfoRpcTag.geom
##>VALID --compare-ascii ${EPSILON_7}
##>${BASELINE_FILES}/apTvUtReadImageInfoRpcTag.geom
##>${TEMP}/apTvUtReadImageInfoRpcTag.geom)
##>otb_test_application(NAME apTvUtReadImageInfoTest
##>APP ReadImageInfo
##>OPTIONS -in ${INPUTDATA}/poupees.tif
##>TESTENVOPTIONS ${TEMP}/apTvUtReadImageInfoTest.txt
##>VALID --compare-ascii ${EPSILON_7}
##>${BASELINE_FILES}/apTvUtReadImageInfoTest.txt
##>${TEMP}/apTvUtReadImageInfoTest.txt)
##>otb_test_application(NAME apTvUtReadImageInfoSpot5
##>APP ReadImageInfo
##>OPTIONS -in LARGEINPUT{SPOT5/TEHERAN/IMAGERY.TIF}
##>TESTENVOPTIONS ${TEMP}/apTvUtReadImageInfoSpot5.txt
##>VALID --compare-ascii ${EPSILON_7}
##>${BASELINE_FILES}/apTvUtReadImageInfoSpot5.txt
##>${TEMP}/apTvUtReadImageInfoSpot5.txt)
##>otb_test_application(NAME apTvUtReadImageInfoERS
##>APP ReadImageInfo
##>OPTIONS -in LARGEINPUT{SAR_ERS2_SLCI_SCENE1/DAT_01.001}
##>TESTENVOPTIONS ${TEMP}/apTvUtReadImageInfoERS.txt
##>VALID --compare-ascii ${EPSILON_7}
##>${BASELINE_FILES}/apTvUtReadImageInfoERS.txt
##>${TEMP}/apTvUtReadImageInfoERS.txt)
##>otb_test_application(NAME apTvUtReadImageInfoRADARSAT1
##>APP ReadImageInfo
##>OPTIONS -in LARGEINPUT{RADARSAT1/GOMA/SCENE01/DAT_01.001}
##>TESTENVOPTIONS ${TEMP}/apTvUtReadImageInfoRADARSAT1.txt
##>VALID --compare-ascii ${EPSILON_7}
##>${BASELINE_FILES}/apTvUtReadImageInfoRADARSAT1.txt
##>${TEMP}/apTvUtReadImageInfoRADARSAT1.txt)
#----------- Quicklook TESTS ----------------
......
......@@ -391,26 +391,26 @@ if(OTB_DATA_USE_LARGEINPUT)
math(EXPR GenericTestPHR_TESTNB "${GenericTestPHR_TESTNB} + 1")
string(REGEX MATCH "TIFF" PHR_TIFF_FILE ${current_type})
# Read info from the input file
otb_add_test(NAME ioTvVectorImageReadingInfo_${current_type} COMMAND otbImageBaseTestDriver
--ignore-order --compare-ascii ${EPSILON_9} ${BASELINE_FILES}/ioTvMultiResolutionReading_${current_type}.txt
${TEMP}/ioTvMultiResolutionReading_${current_type}_OUT.txt
--ignore-lines-with 4 CacheSizeInBytes SubDatasetIndex Driver Corner
otbVectorImageTest
${current_file}?&resol=0
${TEMP}/ioTvMultiResolutionReading_${current_type}_OUT.txt
)
##># Read info from the input file
##>otb_add_test(NAME ioTvVectorImageReadingInfo_${current_type} COMMAND otbImageBaseTestDriver
##>--ignore-order --compare-ascii ${EPSILON_9} ${BASELINE_FILES}/ioTvMultiResolutionReading_${current_type}.txt
##>${TEMP}/ioTvMultiResolutionReading_${current_type}_OUT.txt
##>--ignore-lines-with 4 CacheSizeInBytes SubDatasetIndex Driver Corner
##>otbVectorImageTest
##>${current_file}?&resol=0
##>${TEMP}/ioTvMultiResolutionReading_${current_type}_OUT.txt
##>)
if(NOT PHR_TIFF_FILE)
# Read info from the input file (res=5)
otb_add_test(NAME ioTvVectorImageReadingInfo_${current_type}_res5 COMMAND otbImageBaseTestDriver
--ignore-order --compare-ascii ${EPSILON_9} ${BASELINE_FILES}/ioTvMultiResolutionReading_${current_type}_res5.txt
${TEMP}/ioTvMultiResolutionReading_${current_type}_res5_OUT.txt
--ignore-lines-with 4 CacheSizeInBytes Driver Corner SubDatasetIndex
otbVectorImageTest
${current_file}?&resol=5
${TEMP}/ioTvMultiResolutionReading_${current_type}_res5_OUT.txt
)
##># Read info from the input file (res=5)
##>otb_add_test(NAME ioTvVectorImageReadingInfo_${current_type}_res5 COMMAND otbImageBaseTestDriver
##>--ignore-order --compare-ascii ${EPSILON_9} ${BASELINE_FILES}/ioTvMultiResolutionReading_${current_type}_res5.txt
##>${TEMP}/ioTvMultiResolutionReading_${current_type}_res5_OUT.txt
##>--ignore-lines-with 4 CacheSizeInBytes Driver Corner SubDatasetIndex
##>otbVectorImageTest
##>${current_file}?&resol=5
##>${TEMP}/ioTvMultiResolutionReading_${current_type}_res5_OUT.txt
##>)
# Decode an area inside one tile
otb_add_test(NAME ioTvReaderWriterJP22TIF_${current_type}_1 COMMAND otbImageBaseTestDriver
--compare-image ${EPSILON_9} ${BASELINE}/ioTvJP22TIF_Extract_${current_type}_1.tif
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment