guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: binutils-gold: Skip gold testsuite on some architectures.


From: guix-commits
Subject: 04/04: gnu: binutils-gold: Skip gold testsuite on some architectures.
Date: Tue, 21 Dec 2021 09:24:56 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 9834ff5d3293b2af728b41314c18ca7fb2081efe
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 21 16:15:03 2021 +0200

    gnu: binutils-gold: Skip gold testsuite on some architectures.
    
    * gnu/packages/base.scm (binutils-gold)[arguments]: Add a phase on some
    architecturest to skip the gold testsuite.
---
 gnu/packages/base.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index dd59057..12e4de5 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -606,7 +606,15 @@ included.")
            (add-after 'patch-source-shebangs 'patch-more-shebangs
              (lambda _
                (substitute* "gold/Makefile.in"
-                 (("/bin/sh") (which "sh")))))))))
+                 (("/bin/sh") (which "sh")))))
+           ;; Multiple failing tests on some architectures in the gold 
testsuite.
+           ,@(if (or (target-arm?)
+                     (target-ppc32?))
+               '((add-after 'unpack 'skip-gold-testsuite
+                   (lambda _
+                     (substitute* "gold/Makefile.in"
+                       ((" testsuite") " ")))))
+               '())))))
     (native-inputs
      `(("bc" ,bc)))))
 



reply via email to

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