From b27a6e11b5a0190e84600a63f509cf5e3578f213 Mon Sep 17 00:00:00 2001 From: Jorge Perez Date: Mon, 20 May 2024 13:38:15 -0300 Subject: [PATCH] Disable test failing due to ODE/libccd (backport) Signed-off-by: Jorge Perez --- dartsim/src/JointFeatures_TEST.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dartsim/src/JointFeatures_TEST.cc b/dartsim/src/JointFeatures_TEST.cc index 2bd173c5d..d2d0a9c76 100644 --- a/dartsim/src/JointFeatures_TEST.cc +++ b/dartsim/src/JointFeatures_TEST.cc @@ -734,9 +734,17 @@ TEST_F(JointFeaturesFixture, JointDetach) // sanity check on velocity values EXPECT_LT(1e-5, upperLinkLinearVelocity.Z()); EXPECT_GT(-0.03, upperLinkAngularVelocity.X()); +#ifndef __APPLE__ + // Disable some expectations for dartsim plugin on homebrew, + // see https://github.com/gazebosim/gz-physics/issues/620. EXPECT_NEAR(0.0, upperLinkLinearVelocity.X(), 1e-6); +#endif EXPECT_NEAR(0.0, upperLinkLinearVelocity.Y(), 1e-6); +#ifndef __APPLE__ + // Disable some expectations for dartsim plugin on homebrew, + // see https://github.com/gazebosim/gz-physics/issues/620. EXPECT_NEAR(0.0, upperLinkAngularVelocity.Y(), 1e-6); +#endif EXPECT_NEAR(0.0, upperLinkAngularVelocity.Z(), 1e-6); upperJoint->Detach();