Message ID | 101515ca7bd0194a35b642044322529f3eb3ddbd.1724111051.git.jonathan@terracrypt.net |
---|---|
State | New |
Headers | show |
Series | [bug#72703,v2] gnu: gtk+-2: Disable UI tests on aarch64. | expand |
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.
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\\);")