From fa27a83e591cad30d3345b136851364daa9a1c0a Mon Sep 17 00:00:00 2001 From: Lorenzo Moneta <Lorenzo.Moneta@cern.ch> Date: Tue, 6 May 2014 11:41:54 +0200 Subject: [PATCH] Fix for 32 bit arch (skip a test which is likely to fail due to use of extended precision) --- math/genvector/test/testGenVector.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/math/genvector/test/testGenVector.cxx b/math/genvector/test/testGenVector.cxx index 24d9800f703..eb79a251c89 100644 --- a/math/genvector/test/testGenVector.cxx +++ b/math/genvector/test/testGenVector.cxx @@ -518,7 +518,10 @@ int testTransform3D() { Translation3D tr1(v); Translation3D tr2(v.X(),v.Y(),v.Z()); +// skip this test on 32 bits architecture. It might fail due to extended precision +#if !defined(__i386__) iret |= compare(tr1 ==tr2, 1,"eq transl",1 ); +#endif Translation3D tr3 = tr1 * tr1.Inverse(); GlobalPolar3DVector vp2 = tr3 * v; -- GitLab