[gnome-shell] ci: Run tests through dbus-run-session



commit 7bc39ba750f64879c3d08d85a213786c5430825c
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Oct 30 19:15:26 2019 +0100

    ci: Run tests through dbus-run-session
    
    Something changed recently in the test initialization code, causing
    the test-theme invocation to fail. Make sure there is a D-Bus session
    by running the tests through dbus-run-session to get them going again.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/796

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b5c9d656c..6e58624440 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,10 +69,11 @@ test:
     stage: test
     variables:
         XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
+        NO_AT_BRIDGE: "1"
     before_script:
         - ninja -C mutter/build install
     script:
-        - xvfb-run meson test -C build --no-rebuild
+        - dbus-run-session -- xvfb-run meson test -C build --no-rebuild
     <<: *only_default
     artifacts:
         expire_in: 1 day


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