GNU bug report logs -
#72703
[PATCH] gnu: gtk+-2: Disable UI tests.
Previous Next
To reply to this bug, email your comments to 72703 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org
:
bug#72703
; Package
guix-patches
.
(Sun, 18 Aug 2024 21:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonathan Frederickson <jonathan <at> terracrypt.net>
:
New bug report received and forwarded. Copy sent to
liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org
.
(Sun, 18 Aug 2024 21:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gtk.scm (gtk+-2): Disable ui-tests. 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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 04183fa806..a0da976fab 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -980,6 +980,9 @@ (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
+ (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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#72703
; Package
guix-patches
.
(Sun, 18 Aug 2024 21:41:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 72703 <at> debbugs.gnu.org (full text, mbox):
Am Sonntag, dem 18.08.2024 um 17:14 -0400 schrieb Jonathan
Frederickson:
> * gnu/packages/gtk.scm (gtk+-2): Disable ui-tests. 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
> ---
Given that gtk+-2 is fairly lowlevel package, you might want to wrap
this snippet so that only applies to arches where it's known to be
flaky.
Cheers
Information forwarded
to
guix-patches <at> gnu.org
:
bug#72703
; Package
guix-patches
.
(Sun, 18 Aug 2024 22:59:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 72703 <at> debbugs.gnu.org (full text, mbox):
On Sun, Aug 18, 2024, at 5:38 PM, Liliana Marie Prikler wrote:
> Given that gtk+-2 is fairly lowlevel package, you might want to wrap
> this snippet so that only applies to arches where it's known to be
> flaky.
Ah, good point - I'll try and work out how to do this, and send an updated patch soon.
Information forwarded
to
liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org
:
bug#72703
; Package
guix-patches
.
(Mon, 19 Aug 2024 23:47:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 72703 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#72703
; Package
guix-patches
.
(Mon, 19 Aug 2024 23:56:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 72703 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Alright, I think I got it, though I'll admit to being a bit unfamiliar with g-expressions. My primary laptop is aarch64, but I have an x86_64 server set up for build offloads. I ran a 'guix build --system=x86_64-linux' on the commits before and after and it didn't seem to trigger a rebuild, which is good.
[Message part 2 (text/html, inline)]
This bug report was last modified 296 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.