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.
This commit is contained in:
Ludovic Courtès 2021-12-04 22:24:22 +01:00
parent 73f78d556b
commit 3ee142ebd6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -11476,6 +11476,14 @@ (define-public libhandy
(search-input-file inputs (search-input-file inputs
"/xml/dtd/docbook/docbookx.dtd")))) "/xml/dtd/docbook/docbookx.dtd"))))
(find-files "doc" "\\.xml")))) (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 (add-before 'check 'pre-check
(lambda _ (lambda _
;; Tests require a running X server. ;; Tests require a running X server.