[gtk/clipboard-test] Run gdk tests with an unset D-Bus address



commit f72ca060b58babb4517cab6e59332d6bb0123232
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Apr 30 08:10:48 2021 -0400

    Run gdk tests with an unset D-Bus address
    
    If the session bus address is unset, GLib will
    helpfully try to autolaunch a bus, which will
    fail and timeout. If we set an empty address,
    it gives up early.

 testsuite/gdk/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/testsuite/gdk/meson.build b/testsuite/gdk/meson.build
index 013080a1ed..ef8abbd34d 100644
--- a/testsuite/gdk/meson.build
+++ b/testsuite/gdk/meson.build
@@ -39,6 +39,7 @@ foreach t : tests
     env: [
       'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
       'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
+      'DBUS_SESSION_BUS_ADDRESS=',
     ],
     suite: 'gdk',
   )


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