[cpl-plugin-uves] 01/02: Fix FTBS on mips64el for irplib tests

Ole Streicher olebole at moszumanska.debian.org
Tue Mar 31 10:21:34 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-uves.

commit c33c388972c6ea2f4b7537437afe50d43b199f69
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-uves.git



More information about the debian-science-commits mailing list