[Xfce-bugs] [Bug 15617] New: xfconf tests fail when run before installing xfconf

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Jun 17 11:26:07 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15617

            Bug ID: 15617
           Summary: xfconf tests fail when run before installing xfconf
    Classification: Xfce Core
           Product: Xfconf
           Version: GIT Master
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: mgorny at gentoo.org
  Target Milestone: Xfce 4.12

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:
1. 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,
2. Starting clean D-Bus session daemon instance via dbus-launch,
3. Then running the tests.

I'm going to try to incorporate this into automake.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list