[SCM] ESO library for automated astronomical data-reduction branch, master, updated. upstream/5.3.1-18-g2b44277
Ole Streicher
debian at liska.ath.cx
Wed Mar 21 11:05:06 UTC 2012
The following commit has been merged in the master branch:
commit 2b44277461ce82658906143ea00132d051b38de2
Author: Ole Streicher <debian at liska.ath.cx>
Date: Wed Mar 21 12:04:16 2012 +0100
Adjust the tests to the new i386 failures
diff --git a/debian/patches/disable-some-tests.patch b/debian/patches/disable-some-tests.patch
new file mode 100644
index 0000000..205bad0
--- /dev/null
+++ b/debian/patches/disable-some-tests.patch
@@ -0,0 +1,29 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Disable mystic test failures on i386 (agreed with upstream).
+Forwarded: <mailto:cpl-help at eso.org>
+--- a/cplcore/tests/cpl_image_basic-test.c
++++ b/cplcore/tests/cpl_image_basic-test.c
+@@ -393,7 +393,9 @@ int main(void)
+ cpl_msg_info("", "FFT(%g) round-off [DBL_EPSILON]: %g < %d", value,
+ err/DBL_EPSILON, IMAGESZ*IMAGESZ);
+
++#if 0
+ cpl_test_leq( fabs(err), IMAGESZ*IMAGESZ * DBL_EPSILON/1.5);
++#endif
+
+ cpl_image_delete(imd1);
+
+--- a/cpldrs/tests/cpl_fft-test.c
++++ b/cpldrs/tests/cpl_fft-test.c
+@@ -354,9 +354,11 @@ static void cpl_fft_image_test_one(cpl_size nx, cpl_size ny, cpl_type type)
+ error = cpl_fft_image(image3h, image1r, CPL_FFT_FORWARD);
+ cpl_test_eq_error(error, CPL_ERROR_NONE);
+
++#if 0
+ /* That half has to match the transform onto the half-sized image */
+ cpl_test_image_abs(image3h, image4, type == CPL_TYPE_DOUBLE ?
+ DBL_EPSILON : FLT_EPSILON);
++#endif
+
+ /* Complex-to-complex of same real values */
+ error = cpl_fft_image(image3c, image1c, CPL_FFT_FORWARD);
diff --git a/debian/patches/disable-stat-tests.patch b/debian/patches/disable-stat-tests.patch
deleted file mode 100644
index cf15a47..0000000
--- a/debian/patches/disable-stat-tests.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Author: Ole Streicher <debian at liska.ath.cx>
-Description: Disable mystic test failures on i386 (agreed with upstream).
-Forwarded: <mailto:cpl-help at eso.org>
---- a/cplcore/tests/cpl_stats-test.c
-+++ b/cplcore/tests/cpl_stats-test.c
-@@ -251,9 +251,9 @@ int main(void)
-
- }
-
-+#if 0 // disabled: mystic failures on i386
- /* Test 7a:
- Compare result from one-stats object with all-stats object */
--
- CPL_STAT_CMP(MIN, min);
- CPL_STAT_CMP(MAX, max);
- CPL_STAT_CMP(MEAN, mean);
-@@ -281,7 +281,7 @@ int main(void)
- CPL_STAT_CMP_IMAGE(sqflux);
- CPL_STAT_CMP_IMAGE(centroid_x);
- CPL_STAT_CMP_IMAGE(centroid_y);
--
-+#endif
- cpl_test_abs( cpl_stats_get_median(statall),
- cpl_image_get_median_dev_window(img, 1, 1, IMAGE_SIZE_X,
- IMAGE_SIZE_Y, &sig1),
diff --git a/debian/patches/series b/debian/patches/series
index 24903a8..d50cdee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
-disable-stat-tests.patch
+disable-some-tests.patch
remove-wcs-versioninfo.patch
remove-cfitsio-version-check.patch
use-std-paths-for-libs.patch
--
ESO library for automated astronomical data-reduction
More information about the debian-science-commits
mailing list