xfconf tests fail when run before installing xfconf
Submitted by Michał Górny
Assigned to Xfce Bug Triage
Right now, xfconf's tests seem to rely on xfconfd being installed and running. This is wrong because normally 'make check' is run before installing the package in question, in order to verify that there are no regressions. This either causes the wrong version to be tested, or tests to fail entirely (on first install).
While working on it for Gentoo, I've managed to get them running from source directory by doing the following:
- Installing the D-Bus .service file into location seen by D-Bus daemon (inside overriden XDG_* directory) with xfconfd path set to build tree path,
- Starting clean D-Bus session daemon instance via dbus-launch,
- Then running the tests.
I'm going to try to incorporate this into automake.
Version: GIT Master