From b93740ef460228d6f8fd84063493444b85571b8d Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Mon, 8 Apr 2019 17:12:29 +0200
Subject: [PATCH] TEST: ignore differences in support_data introduced with
 ossim 2.6.2

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

diff --git a/Modules/Applications/AppProjection/test/CMakeLists.txt b/Modules/Applications/AppProjection/test/CMakeLists.txt
index a902e6960e..e9d4c8a0de 100644
--- a/Modules/Applications/AppProjection/test/CMakeLists.txt
+++ b/Modules/Applications/AppProjection/test/CMakeLists.txt
@@ -287,7 +287,8 @@ otb_test_application(NAME  apTvPrRefineSensorModel
                              -elev.geoid ${INPUTDATA}/DEM/egm96.grd
                      VALID   --compare-ascii 0.1
                              ${BASELINE_FILES}/apTvPrRefineSensorModelGeomOutput.geom
-                             ${TEMP}/apTvPrRefineSensorModelGeomOutput.geom)
+                             ${TEMP}/apTvPrRefineSensorModelGeomOutput.geom
+                             --ignore-lines-with 1 support_data.)
 
 # Remove baseline for OSSIM >= 2, as ossimRPCProjection.optimizeFit() is broken
 set(VALID_CONDITION)
diff --git a/Modules/IO/ImageIO/test/CMakeLists.txt b/Modules/IO/ImageIO/test/CMakeLists.txt
index 04d68c8293..6fd2e7e6fd 100644
--- a/Modules/IO/ImageIO/test/CMakeLists.txt
+++ b/Modules/IO/ImageIO/test/CMakeLists.txt
@@ -1352,6 +1352,7 @@ otb_add_test(NAME ioTvCompoundMetadataReaderTest
   --compare-ascii ${EPSILON_9}
   ${INPUTDATA}/QB_Toulouse_SensorModel_labelImage.geom
   ${TEMP}/ioTvCompoundMetadataReaderTest.geom
+  --ignore-lines-with 1 support_data.
   otbWriteGeomFile
   ${INPUTDATA}/QB_Toulouse_combo.vrt
   ${TEMP}/ioTvCompoundMetadataReaderTest.tif)
-- 
GitLab