efraim pushed a commit to branch wip-ppc in repository guix. commit 2806fb90ebcd4ff1b639d88ca0a7a87342e719f8 Author: Efraim Flashner <efr...@flashner.co.il> AuthorDate: Tue Apr 28 22:44:44 2020 +0300
gnu: elfutils: Skip tests on powerpc. * gnu/packages/elf.scm (elfutils)[arguments]: Skip tests on powerpc. --- gnu/packages/elf.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index 5fa6621..01fbdd0 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <l...@gnu.org> ;;; Copyright © 2014, 2015 Mark H Weaver <m...@netris.org> ;;; Copyright © 2015 Andreas Enge <andr...@enge.fr> -;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efr...@flashner.co.il> +;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <efr...@flashner.co.il> ;;; Copyright © 2017 Leo Famulari <l...@famulari.name> ;;; Copyright © 2018 Tobias Geerinckx-Rice <m...@tobias.gr> ;;; Copyright © 2018 Marius Bakke <mba...@fastmail.com> @@ -38,7 +38,9 @@ #:use-module (gnu packages python) #:use-module (gnu packages sphinx) #:use-module (gnu packages texinfo) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26)) (define-public elfutils (package @@ -69,8 +71,9 @@ ;; Disable tests on MIPS (without changing ;; the arguments list on other systems). - ,@(if (string-prefix? "mips" (or (%current-target-system) - (%current-system))) + ,@(if (any (cute string-prefix? <> (or (%current-target-system) + (%current-system))) + '("mips" "powerpc")) '(#:tests? #f) '())