~ruther/guix-local

e3fbaeee1386fd447f40ffdf53d964d1f8541d49 — Efraim Flashner 10 months ago f21482e
gnu: diffutils: Skip some tests on powerpc64le-linux.

Fixes #1681.

* gnu/packages/base.scm (diffutils)[arguments]: When building for
powerpc64le-linux add make-flags to mark 2 tests as failed.

Change-Id: Ia26950d0ec9d5631f556d7dc2c36ceff03916dbb
1 files changed, 10 insertions(+), 5 deletions(-)

M gnu/packages/base.scm
M gnu/packages/base.scm => gnu/packages/base.scm +10 -5
@@ 5,7 5,7 @@
;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2019-2023, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2020, 2023, 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016, 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>


@@ 369,10 369,15 @@ differences.")
     ;; XXX: On 32-bit Hurd platforms, 'time_t' is defined as a 32-bit
     ;; integer in 'hurd_types.defs', so this Gnulib test always fails.
     #:make-flags
     #~#$(if (and (not (%current-target-system))
                  (string=? (%current-system) "i586-gnu"))
             #~'("XFAIL_TESTS=test-year2038")
             #~'())
     #~#$(cond ((and (not (%current-target-system))
                     (string=? (%current-system) "i586-gnu"))
                #~'("XFAIL_TESTS=test-year2038"))
               ;; TODO: Figure out why these gnulib tests are failing.
               ((and (not (%current-target-system))
                     (target-ppc64le?))
                #~'("XFAIL_TESTS=test-float-h large-subopt"))
               (else
                #~'()))

     #:configure-flags
     #~#$(if (%current-target-system)