[PATCH] Use dbus-run-session to run D-Bus tests instead of dbus-launch
authorPino Toscano <toscano.pino@tiscali.it>
Sun, 23 Nov 2025 09:45:27 +0000 (10:45 +0100)
committerPino Toscano <pino@debian.org>
Sun, 21 Dec 2025 12:05:56 +0000 (13:05 +0100)
commite58a5d46d504c80321d6a5df0955c5dff46d7d5c
treeb5c0e9584cd65592c307e627b7ffd4ffd9f53522
parent1c202dab7dfea9ed9bb06e4ff9e239eb2f07da2f
[PATCH] Use dbus-run-session to run D-Bus tests instead of dbus-launch

dbus-run-session spawns a session that gets terminated automatically
after the execution of the command. It is a simpler way compared to
dbus-launch, which relies on the X11 tolaunching (which would explain
why it is not used on macOS, as the comment says).

Hence, use dbus-run-session instead of dbus-launch to run each D-Bus
test. Keep the existing macOS behaviour as-is for now, adding a comment
to test using dbus-run-session in the future.

Gbp-Pq: Name upstream_Use-dbus-run-session-to-run-D-Bus-tests-instead-of-d.patch
tests/CMakeLists.txt