[cpl-plugin-sinfo] 10/42: Fix FTBS for irqlib on i386

Ole Streicher olebole-guest at alioth.debian.org
Mon Sep 16 11:16:19 UTC 2013


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

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

commit a306d24e2da0d4bfc09e393bd7bfbb73e7914f2e
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Tue Jan 15 15:42:53 2013 +0100

    Fix FTBS for irqlib on i386
---
 debian/patches/fix_test_fail.patch |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/debian/patches/fix_test_fail.patch b/debian/patches/fix_test_fail.patch
new file mode 100644
index 0000000..52351cf
--- /dev/null
+++ b/debian/patches/fix_test_fail.patch
@@ -0,0 +1,15 @@
+Author: Lars Lundin <llundin at eso.org>
+Description: This committed change to irplib/tests/irplib_polynomial-test.c
+ fixes the problem (Thanks to JTaylor for testing)
+Bug: PIPE-4326
+--- a/irplib/tests/irplib_polynomial-test.c
++++ b/irplib/tests/irplib_polynomial-test.c
+@@ -202,7 +202,7 @@
+                                         DBL_EPSILON, 2.0*DBL_EPSILON);
+ 
+         /* A more extreme case: Same with negative roots */
+-        (void)cpl_vector_fill(xtrue, -2.0e-4 * FLT_EPSILON);
++        (void)cpl_vector_fill(xtrue, -2.0e-3 * FLT_EPSILON);
+         (void)cpl_vector_set(xtrue, 0, -1.0);
+ 
+         irplib_polynomial_test_root_all(xtrue, nreal, CPL_MATH_PI,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-sinfo.git



More information about the debian-science-commits mailing list