From 56b7b295fc2cea369577ca00ba849a54e22501c0 Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Mon, 6 Dec 2010 19:19:25 +0100
Subject: [PATCH] ENH : comment otbCheckStringValue("Layer name",
 ref_poDefn-\>GetName(), test_poDefn->GetName(), nbdiff, m_ReportErrors), link
 to image name, can't compare 2 shp with 2 different name

---
 Code/Testing/otbTestHelper.cxx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Code/Testing/otbTestHelper.cxx b/Code/Testing/otbTestHelper.cxx
index a9cf30c07e..1073d8ae5b 100644
--- a/Code/Testing/otbTestHelper.cxx
+++ b/Code/Testing/otbTestHelper.cxx
@@ -912,7 +912,7 @@ int TestHelper::RegressionTestOgrFile(const char *testOgrFilename, const char *b
       // If no verbose and an diff was found, exit checking. The full checking will be executed in verbose mode
       if ((!m_ReportErrors) && (nbdiff != 0)) return (1);
       } //if(nbdiff == 0)
-
+    
     }
 
   /* -------------------------------------------------------------------- */
@@ -1468,8 +1468,6 @@ void TestHelper::ogrReportOnLayer(OGRLayer * ref_poLayer,
   /* -------------------------------------------------------------------- */
   printf("\n");
 
-  otbCheckStringValue("Layer name", ref_poDefn->GetName(), test_poDefn->GetName(), nbdiff, m_ReportErrors);
-
   otbCheckStringValue("Geometry", OGRGeometryTypeToName(ref_poDefn->GetGeomType()),
                       OGRGeometryTypeToName(test_poDefn->GetGeomType()), nbdiff, m_ReportErrors);
 
-- 
GitLab