From 54fceb6e56c9c62d59416e44581554e4b555d4a7 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@c-s.fr>
Date: Tue, 13 Feb 2007 16:58:14 +0000
Subject: [PATCH] =?UTF-8?q?Tol=C3=A9rance=20relev=C3=A9e=20pour=20les=20te?=
 =?UTF-8?q?sts=20en=20erreurs=20(e-10).?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Testing/Code/Learning/CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Testing/Code/Learning/CMakeLists.txt b/Testing/Code/Learning/CMakeLists.txt
index 2ec7f7d1de..b2218f0613 100644
--- a/Testing/Code/Learning/CMakeLists.txt
+++ b/Testing/Code/Learning/CMakeLists.txt
@@ -14,6 +14,8 @@ SET(TOL 0.0)
 
 SET(LEARNING_TESTS ${CXX_TEST_PATH}/otbLearningTests)
 
+#EPSILON est different de 0.0 pour les tests multiplateformes avec différentes options de compilation.
+SET(EPSILON 0.0000000001)
 
 
 # -------            otb::SVMModel   ------------------------------
@@ -93,7 +95,7 @@ ADD_TEST(leTuSOMNew ${LEARNING_TESTS}
         otbSOMNew)
 
 ADD_TEST(leTvSOM ${LEARNING_TESTS}  
-        --compare-image ${TOL}
+        --compare-image ${EPSILON}
 	${BASELINE}/leSOMPoupeesSubOutputMap1.hdr
 	${TEMP}/leSOMPoupeesSubOutputMap1.hdr
 	otbSOM
-- 
GitLab