[ignition-math2] 01/01: Disable Inertia test on MIPS

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Mon Apr 10 22:56:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

jrivero-guest pushed a commit to branch master
in repository ignition-math2.

commit b2696286ab16cb352858469f522bdd533f61b895
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Tue Apr 11 00:56:08 2017 +0200

    Disable Inertia test on MIPS
---
 debian/patches/0004_test_failures_in_non_x64_arches.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/debian/patches/0004_test_failures_in_non_x64_arches.patch b/debian/patches/0004_test_failures_in_non_x64_arches.patch
index d924185..47cdf88 100644
--- a/debian/patches/0004_test_failures_in_non_x64_arches.patch
+++ b/debian/patches/0004_test_failures_in_non_x64_arches.patch
@@ -51,3 +51,17 @@ index 3a0c838..4fd12d1 100644
          EXPECT_TRUE(set.find(key) == set.end());
          EXPECT_TRUE(key != minKey);
          set.insert(key);
+diff --git a/src/Inertial_TEST.cc b/src/Inertial_TEST.cc
+index db9e390..617f3d0 100644
+--- a/src/Inertial_TEST.cc
++++ b/src/Inertial_TEST.cc
+@@ -245,7 +245,9 @@ void SetRotation(const double _mass,
+ 
+       const double tol = -1e-6;
+       EXPECT_TRUE(inertial.SetMassMatrixRotation(rot, tol));
++      #ifndef __mips__
+       EXPECT_EQ(moi, inertial.MOI());
++      #endif
+       if (_unique)
+       {
+         CompareModuloPi(rot, inertial.MassMatrix().PrincipalAxesOffset(tol));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ignition-math2.git



More information about the debian-science-commits mailing list