aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 10:58:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-03-31 10:58:40 +0300
commit76ed1e886ea790fc8562b355a0768a0f04889abb (patch)
tree8773da828e64a8ed6c240740629fb4487bed491a
parentf5558ee0cc1a11a8b61d3f4d43f05dd79d53ac77 (diff)
downloadguix-76ed1e886ea790fc8562b355a0768a0f04889abb.tar
guix-76ed1e886ea790fc8562b355a0768a0f04889abb.tar.gz
gnu: gtk: Skip failing tests on aarch64-linux.
* gnu/packages/gtk.scm (gtk)[arguments]: When building for aarch64-linux add a phase to skip a test which can't find the zink driver. Change-Id: I7b596309f1cbd555bd7ba889379d5b0bb245eabc
-rw-r--r--gnu/packages/gtk.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 9252315fd2..8fabd16222 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1163,6 +1163,17 @@ application suites.")
(add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
(assoc-ref glib-or-gtk:%standard-phases
'generate-gdk-pixbuf-loaders-cache-file))
+ #$@(if (target-aarch64?)
+ #~((add-after 'unpack 'skip-failing-test
+ (lambda _
+ ;; MESA: error: ZINK: failed to load libvulkan.so.1
+ ;; libEGL warning: egl: failed to create dri2 screen
+ ;; MESA: error: ZINK: failed to load libvulkan.so.1
+ ;; glx: failed to create drisw screen
+ ;; failed to load driver: zink
+ (substitute* "testsuite/gsk/meson.build"
+ ((".*big-checkerboard-scaled-down2',\n") "")))))
+ #~())
(add-after 'unpack 'patch-rst2man
(lambda _
(substitute* "docs/reference/gtk/meson.build"