[fplll] 01/01: Disable failing test test_int_rel.

Tobias Hansen thansen at moszumanska.debian.org
Sat Dec 9 10:27:17 UTC 2017


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

thansen pushed a commit to branch master
in repository fplll.

commit 3db10059446f20478fb38563c8b7dfc0973a9c09
Author: Tobias Hansen <thansen at debian.org>
Date:   Sat Dec 9 11:19:41 2017 +0100

    Disable failing test test_int_rel.
---
 debian/changelog                              |  8 ++++++++
 debian/patches/disable-test_int_rel_200.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                         |  1 +
 3 files changed, 34 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6ff4498..44e009e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+fplll (5.2.0-2) experimental; urgency=medium
+
+  * Team upload.
+  * Add disable-test_int_rel_200.patch:
+    Disable a faulty test that fails on armel, armhf, mips, mipsel.
+
+ -- Tobias Hansen <thansen at debian.org>  Sat, 09 Dec 2017 11:23:42 +0100
+
 fplll (5.2.0-1) experimental; urgency=medium
 
   * Team upload to experimental.
diff --git a/debian/patches/disable-test_int_rel_200.patch b/debian/patches/disable-test_int_rel_200.patch
new file mode 100644
index 0000000..8c1f365
--- /dev/null
+++ b/debian/patches/disable-test_int_rel_200.patch
@@ -0,0 +1,25 @@
+Description: Disable tests failing on architectures with low precision
+ As discussed in the upstream bug, there is a problem with these tests
+ on architectures with low precision (FTBFS on armel, armhf, mips, mipsel).
+ Disabling as a workaround until the tests are fixed upstream.
+Author: Tobias Hansen <thansen at debian.org>
+Bug: https://github.com/fplll/fplll/issues/262
+
+--- a/tests/test_lll_gram.cpp
++++ b/tests/test_lll_gram.cpp
+@@ -198,7 +198,6 @@
+   status |= test_filename<mpz_t, double>(TESTDATADIR "/tests/lattices/example_cvp_in_lattice5");
+   status |= test_int_rel<mpz_t, double>(50, 20);
+   status |= test_int_rel<mpz_t, double>(40, 10);
+-  status |= test_int_rel<mpz_t, double>(200, 100);
+ 
+   status |= test_filename<mpz_t, mpfr_t>(TESTDATADIR "/tests/lattices/example2_in");
+   status |= test_filename<mpz_t, mpfr_t>(TESTDATADIR "/tests/lattices/example_cvp_in_lattice");
+@@ -208,7 +207,6 @@
+   status |= test_filename<mpz_t, mpfr_t>(TESTDATADIR "/tests/lattices/example_cvp_in_lattice5");
+   status |= test_int_rel<mpz_t, mpfr_t>(50, 20);
+   status |= test_int_rel<mpz_t, mpfr_t>(40, 10);
+-  status |= test_int_rel<mpz_t, mpfr_t>(200, 100);
+ 
+ #ifdef FPLLL_WITH_LONG_DOUBLE
+   status |= test_filename<mpz_t, long double>(TESTDATADIR "/tests/lattices/example2_in");
diff --git a/debian/patches/series b/debian/patches/series
index 7448770..3beb185 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 versioned_strategies_path
 fix_typos.patch
+disable-test_int_rel_200.patch

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



More information about the debian-science-commits mailing list