guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: mutter: Disable one test when building for i


From: guix-commits
Subject: branch master updated: gnu: mutter: Disable one test when building for i686-linux.
Date: Mon, 12 Feb 2024 16:06:58 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new bb4f0509b7 gnu: mutter: Disable one test when building for i686-linux.
bb4f0509b7 is described below

commit bb4f0509b7cce750fc944e604aa919ea89910ea7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Feb 12 22:02:21 2024 +0100

    gnu: mutter: Disable one test when building for i686-linux.
    
    This test no longer fails in future versions, so this is only a temporary
    workaround.
    
    * gnu/packages/gnome.scm (mutter)[arguments]: Conditionally disable the
    activation test on i686-linux.
    
    Change-Id: Ic8552355971b9926b7f72c228edf881a1c0cea1e
---
 gnu/packages/gnome.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6f22529dd7..953bd817ed 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2023 Ricardo Wurmus 
<rekado@elephly.net>
+;;; Copyright © 2015-2020, 2023, 2024 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
 ;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il>
@@ -7911,7 +7911,17 @@ to display dialog boxes from the commandline and shell 
scripts.")
               ;; let's disable them as well.
               ;; See <https://gitlab.gnome.org/GNOME/mutter/-/issues/2125>
               (substitute* "src/tests/clutter/conform/meson.build"
-                (("'timeline.*',") ""))))
+                (("'timeline.*',") ""))
+
+              ;; On i686-linux this test fails with a dbus error.  This seems
+              ;; to be fine in later versions, so this workaround can probably
+              ;; be removed soon.
+              #$@(if (string=? "i686-linux" (or (%current-target-system)
+                                                (%current-system)))
+                     #~((substitute* "src/tests/wayland-unit-tests.c"
+                          (("g_test_add_func 
\\(\"/wayland/toplevel/activation\",") "")
+                          (("^                   toplevel_activation\\);") 
"")))
+                     #~())))
           (replace 'check
             (lambda* (#:key tests? test-options parallel-tests?
                       #:allow-other-keys)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]