[cpl-plugin-hawki] 01/03: Fix FTBS on mips64el for irplib tests

Ole Streicher olebole-guest at moszumanska.debian.org
Wed Jul 2 13:04:16 UTC 2014


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

olebole-guest pushed a commit to branch debian
in repository cpl-plugin-hawki.

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-hawki.git



More information about the debian-science-commits mailing list