[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: babl: Disable failing test on aarch64.
From: |
guix-commits |
Subject: |
03/06: gnu: babl: Disable failing test on aarch64. |
Date: |
Wed, 17 Apr 2024 12:56:56 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit e1fefe84aa73d6d48ab43f7c613c7bc6d14d082f
Author: Roman Scherer <roman@burningswell.com>
AuthorDate: Sun Apr 7 14:05:39 2024 +0200
gnu: babl: Disable failing test on aarch64.
The float-to-8bit test fails on an Apple M1 (aarch64) with the following
message:
9/28 float-to-8bit FAIL 0.11s exit status 1
>>> LD_LIBRARY_PATH=/tmp/guix-build-babl-0.1.108.drv-0/build/babl
BABL_PATH=/tmp/guix-build-babl-0.1.108.drv-0/build/extensions
MALLOC_PERTURB_=94 /tmp/guix-build-babl-0.1.108.drv-0/build/tests/float-to-8bit
stdout:
float -> u8 1 failed #1[1] got 76 expected 77
stderr:
" 0x43b9f0 0x4390b0 1" 1541377792 BablFishPath
cost:146.000000 error:0.000000000000
"/tmp/guix-build-babl-0.1.108.drv-0/build/extensions/gggl.so 0:
R'G'B'A float to R'G'B'A u8" 0 BablConversionLinear
pixels:0
error: 0.000000
* gnu/packages/gimp.scm (babl): Disable failing test on aarch64.
Change-Id: Icf2c2a9ea5986149902f741f96d1847d2403c1f4
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/gimp.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index b458a6397c..b2676e654e 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -193,8 +193,17 @@ of a larger interface.")
"0x8lxvnhfpssj84x47y3y06vsvhd5afb9jknw38c8ymbxafzxpi6"))))
(build-system meson-build-system)
(arguments
- `(#:configure-flags
- (list "-Dwith-docs=false")))
+ (list
+ #:configure-flags #~(list "-Dwith-docs=false")
+ #:phases
+ #~(modify-phases %standard-phases
+ #$@(if (target-aarch64?)
+ #~((add-after 'unpack 'disable-failing-test
+ (lambda _
+ (substitute* "tests/meson.build"
+ ;; float -> u8 1 failed #1[1] got 76 expected 77
+ (("'float-to-8bit',") "")))))
+ '()))))
(native-inputs
(list gobject-introspection pkg-config vala))
(propagated-inputs
- branch master updated (7bed290fdf -> 2126dab4cd), guix-commits, 2024/04/17
- 01/06: gnu: signon-plugin-oauth2: Change SIGNON_PLUGINS_DIR., guix-commits, 2024/04/17
- 04/06: gnu: evolution-data-server: Disable failing test on aarch64., guix-commits, 2024/04/17
- 03/06: gnu: babl: Disable failing test on aarch64.,
guix-commits <=
- 02/06: gnu: gama: Update to 2.30., guix-commits, 2024/04/17
- 05/06: gnu: nar-herder: Update to 0-27.ffda727., guix-commits, 2024/04/17
- 06/06: gnu: guix-data-service: Update to 0.0.1-47.c185892., guix-commits, 2024/04/17