diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-07-08 15:21:49 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:45:41 +0200 |
commit | c2893113363f20f4255b0aadbc4dd094093f1c5f (patch) | |
tree | b50592527cd931f510c06f65fa81dc35504a2b75 /gnu | |
parent | 43e6dc3cdaeedf409bbf5104afe9e45022c5c99f (diff) | |
download | guix-c2893113363f20f4255b0aadbc4dd094093f1c5f.tar guix-c2893113363f20f4255b0aadbc4dd094093f1c5f.tar.gz |
gnu: gd: Skip failing test on i686-linux.
* gnu/packages/gd.scm (gd)[arguments]: Add “XFAIL_TESTS” to #:make-flags
on i686-linux.
Change-Id: I52a9cfeb352b0ec3fce4ff1f82f43c5f7bef6ef0
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/gd.scm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm index 2c5ba59915..98d34cfa71 100644 --- a/gnu/packages/gd.scm +++ b/gnu/packages/gd.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2016, 2023 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2013, 2016, 2023-2024 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name> @@ -61,7 +61,15 @@ (arguments ;; As recommended by github.com/libgd/libgd/issues/278 to fix rounding ;; issues on aarch64 and other architectures. - (list #:make-flags #~(list "CFLAGS=-ffp-contract=off") + (list #:make-flags #~(list "CFLAGS=-ffp-contract=off" + + ;; XXX: This test fails on i686-linux. + ;; See <https://issues.guix.gnu.org/71996>. + #$@(if (and (not (%current-target-system)) + (string-prefix? "i686" + (%current-system))) + #~("XFAIL_TESTS=gdimagegrayscale/basic") + #~())) #:configure-flags #~(list "--disable-static") #:phases #~(modify-phases %standard-phases |