[Debian-astro-maintainers] Bug#774208: cpl-plugin-kmos failed to run test on mips64el
YunQiang Su
wzssyqa at gmail.com
Tue Dec 30 09:59:27 UTC 2014
Package: src:cpl-plugin-kmos
Version: 1.3.5+dfsg-1
With a modification for debian/patches/fix_test_fail.patch, it can be fixed.
Author: Ole Streicher <debian at liska.ath.cx>
Description: Increase tolerance to fix FTBS on mips and ia64
Index: cpl-plugin-kmos-1.3.5+dfsg/irplib/tests/irplib_polynomial-test.c
===================================================================
--- cpl-plugin-kmos-1.3.5+dfsg.orig/irplib/tests/irplib_polynomial-test.c
2014-04-11 17:31:07.000000000 +0800
+++ cpl-plugin-kmos-1.3.5+dfsg/irplib/tests/irplib_polynomial-test.c
2014-12-30 17:24:30.234260459 +0800
@@ -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);
- cpl_test_abs(root, cpl_vector_get(self, i), tolerance);
+ cpl_test_abs(root, cpl_vector_get(self, i), 2*tolerance);
/* FIXME: Verify residual as well */
--
YunQiang Su
More information about the Debian-astro-maintainers
mailing list