~ruther/guix-local

3ee142ebd6688724586ad006be50d309ec4da144 — Ludovic Courtès 4 years ago 73f78d5
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.
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/gnome.scm
M gnu/packages/gnome.scm => gnu/packages/gnome.scm +8 -0
@@ 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.