[cpl-plugin-kmos] 01/01: Fix FTBS on i386

Ole Streicher olebole-guest at moszumanska.debian.org
Wed Jan 29 10:57:51 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-kmos.

commit af8e604a877aafbc8871e53b489d7ddfcd859aa4
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Jan 29 11:57:41 2014 +0100

    Fix FTBS on i386
---
 debian/changelog                        |  6 ++++++
 debian/patches/kmos_fix_test_fail.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 32 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 884a59b..6e8ed95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cpl-plugin-kmos (1.2.8+dfsg-2) unstable; urgency=low
+
+  * Fix FTBS on i386
+
+ -- Ole Streicher <debian at liska.ath.cx>  Wed, 29 Jan 2014 11:33:06 +0100
+
 cpl-plugin-kmos (1.2.8+dfsg-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/patches/kmos_fix_test_fail.patch b/debian/patches/kmos_fix_test_fail.patch
new file mode 100644
index 0000000..87f937a
--- /dev/null
+++ b/debian/patches/kmos_fix_test_fail.patch
@@ -0,0 +1,25 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Increase tolerance to fix FTBS on i386
+--- a/kmos/tests/kmo_priv_arithmetic-test.c
++++ b/kmos/tests/kmo_priv_arithmetic-test.c
+@@ -299,7 +299,7 @@
+     kmo_test_fill_image(img, 4.4, 2.2);
+     kmo_arithmetic_3D_2D(cube1, img, NULL, NULL, "*");
+     cpl_test_abs(cpl_image_get(cpl_imagelist_get(cube1, 2), 4, 99, &rej),
+-                 2.11496e+08, 400);
++                 2.11496e+08, 8000);
+ 
+     cpl_image_delete(img);
+     cpl_imagelist_delete(cube1);
+@@ -323,9 +323,9 @@
+     kmo_test_fill_image(noise_img, 2.1, 0.2);
+     kmo_arithmetic_3D_2D(cube1, img, noise_cube1, noise_img, "+");
+     cpl_test_abs(cpl_image_get(cpl_imagelist_get(cube1, 2), 4, 99, &rej),
+-                 31375.2, 2*tol);
++                 31375.2, 1.0);
+     cpl_test_abs(cpl_image_get(cpl_imagelist_get(noise_cube1, 2), 4, 99, &rej),
+-                 2193.96, tol);
++                 2193.96, 0.5);
+ 
+     cpl_image_delete(img);
+     cpl_image_delete(noise_img);
diff --git a/debian/patches/series b/debian/patches/series
index 611e439..3277ffd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,5 +4,6 @@ use-std-paths-for-cpl.patch
 no_test_data.patch
 fortify.patch
 spellfix.patch
+kmos_fix_test_fail.patch
 fix_test_fail.patch
 force-serial-tests.patch

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



More information about the debian-science-commits mailing list