gnu: librsvg: Skip test which fails on aarch64-linux.

* gnu/packages/gnome.scm (librsvg)[arguments]: Add a phase to remove the
failing test.
This commit is contained in:
Efraim Flashner 2017-11-10 15:52:42 +02:00
parent c06d8ba5ee
commit 56ccafbe7c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1191,7 +1191,14 @@ (define-public librsvg
;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
(("gdk_pixbuf_cache_file = .*$")
"gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n")))
%standard-phases)))
(alist-cons-after
'unpack 'remove-failing-test
;; This test fails on aarch64.
(lambda _
(delete-file "tests/fixtures/reftests/bugs/777834-empty-text-children.svg")
(delete-file "tests/fixtures/reftests/bugs/777834-empty-text-children-ref.png")
#t)
%standard-phases))))
(native-inputs
`(("pkg-config" ,pkg-config)
("glib" ,glib "bin") ; glib-mkenums, etc.