From 3ee142ebd6688724586ad006be50d309ec4da144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 4 Dec 2021 22:24:22 +0100 Subject: [PATCH] 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 7df7f188743ff44930354211247d24e48e8a1742..3e607dc7dfbbc734d2a52d040d807b44200a2ba7 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.