Skip to content

Use dbus-run-session to run D-Bus tests instead of dbus-launch#300

Merged
danvratil merged 1 commit intoqcoro:mainfrom
pinotree:tests-dbus-run-session
Dec 10, 2025
Merged

Use dbus-run-session to run D-Bus tests instead of dbus-launch#300
danvratil merged 1 commit intoqcoro:mainfrom
pinotree:tests-dbus-run-session

Conversation

@pinotree
Copy link
Contributor

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.

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.
@danvratil danvratil force-pushed the tests-dbus-run-session branch from 6fa4905 to de4b256 Compare December 10, 2025 21:18
@danvratil
Copy link
Collaborator

Hi Pino, thanks for the patch! And sorry it took so long to get it merged :)

Don't worry about the failing Windows build, somehow dbus completely disappeared from the Windows CI image :(

@danvratil danvratil merged commit 079d362 into qcoro:main Dec 10, 2025
41 of 47 checks passed
@pinotree pinotree deleted the tests-dbus-run-session branch December 26, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants