[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phosh][debian/latest] d/control, d/rules: Use dbus-run-session to run tests

Guido Günther (@agx) gitlab at salsa.debian.org
Sat Aug 24 16:26:14 BST 2024



Guido Günther pushed to branch debian/latest at Debian On Mobile / phosh


Commits:
646a0fc0 by Simon McVittie at 2024-08-24T16:47:55+02:00
d/control, d/rules: Use dbus-run-session to run tests

Instead of relying on X11 autolaunching, explicitly start a session
bus for the unit tests. This avoids a dependency on dbus-x11.

Closes: #1079555

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -36,7 +36,7 @@ Build-Depends:
 # to run the tests
  at-spi2-core <!nocheck>,
  desktop-file-utils <!nocheck>,
- dbus-x11 <!nocheck>,
+ dbus-daemon <!nocheck>,
  gnome-settings-daemon-common <!nocheck>,
  gnome-shell-common <!nocheck>,
  gnome-themes-extra-data <!nocheck>,


=====================================
debian/rules
=====================================
@@ -36,4 +36,4 @@ override_dh_installsystemd:
 	dh_installsystemd --no-start --no-enable --no-restart-on-upgrade --no-restart-after-upgrade
 
 override_dh_auto_test:
-	LC_ALL=C.UTF-8 xvfb-run -a dh_auto_test -- --no-suite manual
+	LC_ALL=C.UTF-8 xvfb-run -a dbus-run-session -- dh_auto_test -- --no-suite manual



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/646a0fc002b5ad98a2d4c328fa15ccd85b5f3389

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/646a0fc002b5ad98a2d4c328fa15ccd85b5f3389
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20240824/769d2c88/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list