From 0e86cb9ba330405abc42e19633c72be19be4e65a Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Thu, 5 Mar 2015 13:47:15 +0100
Subject: [PATCH] TEST: Ignoring the SubDatasetIndex keyword during regression
 testing

---
 Modules/Core/ImageBase/test/CMakeLists.txt | 2 +-
 Modules/IO/ImageIO/test/CMakeLists.txt     | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Modules/Core/ImageBase/test/CMakeLists.txt b/Modules/Core/ImageBase/test/CMakeLists.txt
index c771243759..8ffcc669d2 100644
--- a/Modules/Core/ImageBase/test/CMakeLists.txt
+++ b/Modules/Core/ImageBase/test/CMakeLists.txt
@@ -413,7 +413,7 @@ if(OTB_DATA_USE_LARGEINPUT OR OTB_DATA_USE_SPOTPHRINPUT OR OTB_DATA_USE_CNESPHRI
       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 3 CacheSizeInBytes Driver Corner
+        --ignore-lines-with 4 CacheSizeInBytes Driver Corner SubDatasetIndex
         otbVectorImageTest
         ${current_file}?&resol=5
         ${TEMP}/ioTvMultiResolutionReading_${current_type}_res5_OUT.txt
diff --git a/Modules/IO/ImageIO/test/CMakeLists.txt b/Modules/IO/ImageIO/test/CMakeLists.txt
index 4ba10c01f0..ea1e88836c 100644
--- a/Modules/IO/ImageIO/test/CMakeLists.txt
+++ b/Modules/IO/ImageIO/test/CMakeLists.txt
@@ -962,6 +962,7 @@ if(NOT PHR_TIFF_FILE)
     otb_add_test(NAME ioTvMultiResolutionReadingInfo_${current_type} COMMAND otbImageIOTestDriver
              --compare-ascii ${EPSILON_9}  ${BASELINE_FILES}/ioTvMultiResolutionReadingInfo_${current_type}.txt
                                        ${TEMP}/ioTvMultiResolutionReadingInfo_${current_type}_OUT.txt
+             --ignore-lines-with 1 SubDatasetIndex
              otbMultiResolutionReadingInfo
                 ${current_file}
                 ${TEMP}/ioTvMultiResolutionReadingInfo_${current_type}_OUT.txt
-- 
GitLab