After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770798 - tests: use dbus-run-session instead of dbus-launch to run tests
tests: use dbus-run-session instead of dbus-launch to run tests
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-03 14:49 UTC by Michael Biebl
Modified: 2016-09-03 16:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tests: use dbus-run-session instead of dbus-launch to run tests (2.11 KB, patch)
2016-09-03 14:51 UTC, Michael Biebl
accepted-commit_now Details | Review

Description Michael Biebl 2016-09-03 14:49:44 UTC
The use of dbus-launch is deprecated by dbus upstream.
See https://lists.debian.org/debian-devel/2016/08/msg00554.html for more
details. 

So we should use dbus-run-session instead, which was specifically designed to be used for such cases, like running test-suites.

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836049.
Comment 1 Michael Biebl 2016-09-03 14:51:00 UTC
Created attachment 334715 [details] [review]
tests: use dbus-run-session instead of dbus-launch to run tests
Comment 2 Christoph Reiter (lazka) 2016-09-03 15:11:53 UTC
Review of attachment 334715 [details] [review]:

thanks, lgtm
Comment 3 Michael Biebl 2016-09-03 16:13:37 UTC
Comitted as 4617c39ca212f0da82af1a9989c912bcdfe1158b