summary refs log tree commit diff
path: root/gnu/packages/patches/gmp-faulty-test.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-06 15:18:44 +0200
committerLudovic Courtès <ludo@gnu.org>2015-10-06 15:18:44 +0200
commit42e735dfc78ff89aff8a6e6e6dc60142f4ee2bf3 (patch)
tree21ed16a42e0c176c2dca85bb5f63ea7694cace8e /gnu/packages/patches/gmp-faulty-test.patch
parent18bf40a087bbb9d671f9fcb9ff6e26b94ba02ffa (diff)
downloadguix-42e735dfc78ff89aff8a6e6e6dc60142f4ee2bf3.tar.gz
gnu: gmp: Skip unreliable test.
* gnu/packages/patches/gmp-faulty-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/multiprecision.scm (gmp)[source]: Use it.
Diffstat (limited to 'gnu/packages/patches/gmp-faulty-test.patch')
-rw-r--r--gnu/packages/patches/gmp-faulty-test.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/patches/gmp-faulty-test.patch b/gnu/packages/patches/gmp-faulty-test.patch
new file mode 100644
index 0000000000..3fd8a1f8d6
--- /dev/null
+++ b/gnu/packages/patches/gmp-faulty-test.patch
@@ -0,0 +1,11 @@
+Skip a test that randomly fails on ARMv7: <http://bugs.gnu.org/21620>.
+
+--- a/tests/mpz/reuse.c
++++ b/tests/mpz/reuse.c
+@@ -213,6 +213,7 @@ main (int argc, char **argv)
+   mpz_t bs;
+   unsigned long bsi, size_range;
+ 
++  exit (77);					  /* skip */
+   tests_start ();
+   TESTS_REPS (reps, argv, argc);