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: [email protected]
          Reporter: [email protected]
  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.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to