[Debian-astro-commits] [cpl-plugin-template] 58/81: Fix FTBS on mips64el for irplib tests
Ole Streicher
olebole at moszumanska.debian.org
Mon Jul 20 12:08:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository cpl-plugin-template.
commit e1d879b74dc4d94ca4432caf4b4d5193952edd14
Author: Ole Streicher <debian at liska.ath.cx>
Date: Wed Jul 2 14:43:36 2014 +0200
Fix FTBS on mips64el for irplib tests
---
debian/patches/fix_test_fail.patch | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/debian/patches/fix_test_fail.patch b/debian/patches/fix_test_fail.patch
index 3c1c876..4da200f 100644
--- a/debian/patches/fix_test_fail.patch
+++ b/debian/patches/fix_test_fail.patch
@@ -1,8 +1,19 @@
Author: Ole Streicher <debian at liska.ath.cx>
-Description: Increase tolerance to fix FTBS on mips and ia64
+Description: Increase tolerance to fix FTBS on mips, mipsel64, and ia64
--- a/irplib/tests/irplib_polynomial-test.c
+++ b/irplib/tests/irplib_polynomial-test.c
-@@ -569,7 +569,7 @@
+@@ -567,16 +567,16 @@
+ const double root = cpl_vector_get(roots, i);
+ const double residual = cpl_polynomial_eval_1d(p1d, root, NULL);
+
+- cpl_test_abs(root, cpl_vector_get(self, i), tolerance);
++ cpl_test_abs(root, cpl_vector_get(self, i), 2*tolerance);
+
+- cpl_test_abs(residual, 0.0, resitol);
++ cpl_test_abs(residual, 0.0, 2*resitol);
+
+ }
+
for (i = nreal; i < degree; i++) {
const double root = cpl_vector_get(roots, i);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cpl-plugin-template.git
More information about the Debian-astro-commits
mailing list