[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: libhandy: Skip test that requires librsvg on non-x86_64.
From: |
guix-commits |
Subject: |
04/04: gnu: libhandy: Skip test that requires librsvg on non-x86_64. |
Date: |
Sat, 4 Dec 2021 16:40:17 -0500 (EST) |
civodul pushed a commit to branch core-updates-frozen
in repository guix.
commit 3ee142ebd6688724586ad006be50d309ec4da144
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Dec 4 22:24:22 2021 +0100
gnu: libhandy: Skip test that requires librsvg on non-x86_64.
* gnu/packages/gnome.scm (libhandy)[arguments]: Add
'skip-test-that-requires-svg' phase on non-x86_64.
---
gnu/packages/gnome.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 7df7f18..3e607dc 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11476,6 +11476,14 @@ tabs, and it supports drag and drop re-ordering of
terminals.")
(search-input-file inputs
"/xml/dtd/docbook/docbookx.dtd"))))
(find-files "doc" "\\.xml"))))
+ ,@(if (target-x86-64?)
+ '()
+ '((add-after 'unpack 'skip-test-that-requires-svg
+ (lambda _
+ ;; On non-x86-64, gdk-pixbuf lacks librsvg support, so
+ ;; skip the test that requires it.
+ (substitute* "tests/meson.build"
+ (("'test-avatar',") ""))))))
(add-before 'check 'pre-check
(lambda _
;; Tests require a running X server.