GNU bug report logs - #72703
[PATCH] gnu: gtk+-2: Disable UI tests.

Previous Next

Package: guix-patches;

Reported by: Jonathan Frederickson <jonathan <at> terracrypt.net>

Date: Sun, 18 Aug 2024 21:16:01 UTC

Severity: normal

Tags: patch

Full log


Message #14 received at 72703 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Frederickson <jonathan <at> terracrypt.net>
To: 72703 <at> debbugs.gnu.org
Cc: Jonathan Frederickson <jonathan <at> terracrypt.net>
Subject: [PATCH v2] gnu: gtk+-2: Disable UI tests on aarch64.
Date: Mon, 19 Aug 2024 19:44:11 -0400
* gnu/packages/gtk.scm (gtk+-2): Disable ui-tests on aarch64. They seem to be
flaky on aarch64, and I haven't been able to get the package to build without
this change.

Change-Id: I5aa5a89a2874ad1c737cba16c3aaeedced606de3
---
 gnu/packages/gtk.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 04183fa806..667e0d4dbf 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -980,6 +980,12 @@ (define-public gtk+-2
                 (("g_test_add_func \\(\"/recent-manager.*;") ""))
               (substitute* "gtk/tests/defaultvalue.c"
                 (("return g_test_run\\(\\);") ""))
+              ;; UI tests seem to be flaky on aarch64
+              #$@(if (string=? (%current-system) "aarch64-linux")
+                     (list
+                      #~(substitute* "gtk/tests/testing.c"
+                          (("g_test_add_func \\(\"/ui-tests.*;") "")))
+                     #~())
               ;; These require XPM support in Gdk-Pixbuf which is obsolete.
               (substitute* "gtk/tests/textbuffer.c"
                 (("g_test_add_func.*test_fill_empty\\);")

base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8
-- 
2.45.2





This bug report was last modified 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.