guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: gmp: Skip unreliable test.


From: Ludovic Courtès
Subject: 02/02: gnu: gmp: Skip unreliable test.
Date: Tue, 06 Oct 2015 13:19:30 +0000

civodul pushed a commit to branch core-updates
in repository guix.

commit 42e735dfc78ff89aff8a6e6e6dc60142f4ee2bf3
Author: Ludovic Courtès <address@hidden>
Date:   Tue Oct 6 15:18:44 2015 +0200

    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.
---
 gnu-system.am                              |    1 +
 gnu/packages/multiprecision.scm            |    6 ++++--
 gnu/packages/patches/gmp-faulty-test.patch |   11 +++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/gnu-system.am b/gnu-system.am
index 4db5db5..cdae0ed 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -474,6 +474,7 @@ dist_patch_DATA =                                           
\
   gnu/packages/patches/glibc-o-largefile.patch                 \
   gnu/packages/patches/glibc-versioned-locpath.patch           \
   gnu/packages/patches/gmp-arm-asm-nothumb.patch               \
+  gnu/packages/patches/gmp-faulty-test.patch                   \
   gnu/packages/patches/gnucash-price-quotes-perl.patch         \
   gnu/packages/patches/gnutls-doc-fix.patch                    \
   gnu/packages/patches/gobject-introspection-absolute-shlib-path.patch \
diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
index 903d160..ee74c03 100644
--- a/gnu/packages/multiprecision.scm
+++ b/gnu/packages/multiprecision.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013 Ludovic Courtès <address@hidden>
+;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2014 Mark H Weaver <address@hidden>
 ;;; Copyright © 2015 Andreas Enge <address@hidden>
 ;;;
@@ -39,7 +39,9 @@
             (sha256
              (base32
               "0r5pp27cy7ch3dg5v0rsny8bib1zfvrza6027g2mp5f6v8pd6mli"))
-            (patches (list (search-patch "gmp-arm-asm-nothumb.patch")))))
+            (patches (map search-patch
+                          '("gmp-arm-asm-nothumb.patch"
+                            "gmp-faulty-test.patch")))))
    (build-system gnu-build-system)
    (native-inputs `(("m4" ,m4)))
    (outputs '("out" "debug"))
diff --git a/gnu/packages/patches/gmp-faulty-test.patch 
b/gnu/packages/patches/gmp-faulty-test.patch
new file mode 100644
index 0000000..3fd8a1f
--- /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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]