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

---
 Modules/Core/ImageBase/test/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Modules/Core/ImageBase/test/CMakeLists.txt b/Modules/Core/ImageBase/test/CMakeLists.txt
index 1a1238b32b..488af7bd50 100644
--- a/Modules/Core/ImageBase/test/CMakeLists.txt
+++ b/Modules/Core/ImageBase/test/CMakeLists.txt
@@ -786,6 +786,7 @@ otb_add_test(NAME  ioTvMultiMonoChannelROI_ENVI2PNG COMMAND otbImageBaseTestDriv
 # Tests to check if we can open JPEG2000 files specifying the resolution factor.
 # no access to data only PrintSelf() method.
 otb_add_test(NAME  ioTvMultiResolutionReading0 COMMAND otbImageBaseTestDriver
+  --ignore-lines-with 1 SubDatasetIndex
   --compare-ascii ${NOTOL}  ${BASELINE_FILES}/ioTvMultiResolutionReading0.txt
                              ${TEMP}/ioTvMultiResolutionReading0.txt
       otbVectorImageTest
@@ -794,6 +795,7 @@ otb_add_test(NAME  ioTvMultiResolutionReading0 COMMAND otbImageBaseTestDriver
       )
 
 otb_add_test(NAME  ioTvMultiResolutionReading3 COMMAND otbImageBaseTestDriver
+  --ignore-lines-with 1 SubDatasetIndex
   --compare-ascii ${NOTOL}  ${BASELINE_FILES}/ioTvMultiResolutionReading3.txt
                              ${TEMP}/ioTvMultiResolutionReading3.txt
       otbVectorImageTest
-- 
GitLab