From ba20d3e56d44d017d075992521f9a66b7213610c Mon Sep 17 00:00:00 2001 From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org> Date: Fri, 2 Mar 2012 18:10:00 +0100 Subject: [PATCH] TEST:add test with spot4 for SpectralSentivityReader class --- Testing/Code/IO/CMakeLists.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Testing/Code/IO/CMakeLists.txt b/Testing/Code/IO/CMakeLists.txt index 84a3c6b3bc..f432ede22e 100644 --- a/Testing/Code/IO/CMakeLists.txt +++ b/Testing/Code/IO/CMakeLists.txt @@ -3504,7 +3504,6 @@ ADD_TEST(raTvSpectralSensitivityReaderTest ${IO_TESTS23} ${TEMP}/rcTuSpectralSensitivityReaderTest.txt ) - ADD_TEST(raTvSpectralSensitivityReaderGenericTest ${IO_TESTS23} --compare-ascii ${EPSILON_5} ${BASELINE_FILES}/raTvSpectralSensitivityReaderGenericTest.txt @@ -3516,6 +3515,19 @@ ADD_TEST(raTvSpectralSensitivityReaderGenericTest ${IO_TESTS23} ${TEMP}/raTvSpectralSensitivityReaderGenericTest.txt ) +IF(OTB_DATA_USE_LARGEINPUT) + ADD_TEST(raTvSpectralSensitivityReaderSpot4Test ${IO_TESTS23} + --compare-ascii ${EPSILON_5} + ${BASELINE_FILES}/raTvSpectralSensitivityReaderSpot4Test.txt + ${TEMP}/raTvSpectralSensitivityReaderSpot4Test.txt + --ignore-lines-with 2 DataPath FileName + otbSpectralSensitivityReaderGenericTest + ${INPUTDATA}/Radiometry/SPOT4/HRVIR1/rep6S.dat + ${LARGEINPUT}/SPOT4/ROMANIA/raTvS4_20020518_Reflectance.img + ${TEMP}/raTvSpectralSensitivityReaderSpot4Test.txt + ) +ENDIF(OTB_DATA_USE_LARGEINPUT) + ADD_TEST(ioTvStreamingWriteVectorImageComplex${DATA_PIXELTYPE}${NBBANDS}Bands ${IO_TESTS23} --compare-image ${NOTOL} -- GitLab