From e58e5e1aa41d07d37e8bddb63818cce3cac410f6 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Wed, 14 Jan 2009 14:38:51 +0800
Subject: [PATCH] TEST: add VectorDataProjectionExampleTest

---
 Examples/Projections/CMakeLists.txt                  | 2 +-
 Examples/Projections/otbProjectionsExamplesTests.cxx | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/Examples/Projections/CMakeLists.txt b/Examples/Projections/CMakeLists.txt
index 9e80ffdfff..f249a3b83e 100644
--- a/Examples/Projections/CMakeLists.txt
+++ b/Examples/Projections/CMakeLists.txt
@@ -91,7 +91,7 @@ ADD_TEST(MapProjectionExampleTest ${EXE_TESTS}
 
 IF(OTB_DATA_USE_LARGEINPUT)
 ADD_TEST(VectorDataProjectionExampleTest ${EXE_TESTS}
-	--compare-binary ${TOL}
+	--compare-binary
 	${BASELINE}/vectorDataProjectionExample.shp
 	${TEMP}/vectorDataProjectionExample.shp
     VectorDataProjectionExampleTest
diff --git a/Examples/Projections/otbProjectionsExamplesTests.cxx b/Examples/Projections/otbProjectionsExamplesTests.cxx
index ed3ee0d0c1..abf7d0bc66 100644
--- a/Examples/Projections/otbProjectionsExamplesTests.cxx
+++ b/Examples/Projections/otbProjectionsExamplesTests.cxx
@@ -28,6 +28,7 @@ void RegisterTests()
 {
   REGISTER_TEST(OrthoRectificationExampleTest);
   REGISTER_TEST(MapProjectionExampleTest);
+  REGISTER_TEST(VectorDataProjectionExampleTest);
 }
 
 #undef main
@@ -37,3 +38,7 @@ void RegisterTests()
 #undef main
 #define main MapProjectionExampleTest
 #include "MapProjectionExample.cxx"
+
+#undef main
+#define main VectorDataProjectionExampleTest
+#include "VectorDataProjectionExample.cxx"
-- 
GitLab