Package: dart / 6.12.1+dfsg4-12

0006-Reduce-test-result-accuracy-to-fix-i386.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Thu, 26 Nov 2020 08:27:45 +0100
Subject: Reduce test result accuracy to fix i386

---
 unittests/regression/test_Issue1445.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unittests/regression/test_Issue1445.cpp b/unittests/regression/test_Issue1445.cpp
index 3f8d612..db0b350 100644
--- a/unittests/regression/test_Issue1445.cpp
+++ b/unittests/regression/test_Issue1445.cpp
@@ -162,7 +162,7 @@ TEST(Issue1445, Collision)
     world->step();
 
   // Expect both bodies to remain in contact with the ground with zero velocity.
-  EXPECT_NEAR(0.0, model1Body->getLinearVelocity().z(), 1e-3);
+  EXPECT_NEAR(0.0, model1Body->getLinearVelocity().z(), 1e-2);
   EXPECT_NEAR(0.0, model2Body->getLinearVelocity().z(), 1e-3);
 
   auto* groundBody = ground->getRootBodyNode();