Summary: | sys-apps/dbus[-X]: running tests should not require a X server on headless/wayland systems | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adrian Ratiu <adrian.ratiu> |
Component: | Current packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | 89q1r14hd, adrian.ratiu, paolo.pedroni, sam, vapier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
It's certainly worth a try.
We would probably need to set VIRTUALX_REQUIRED=manual and declare a custom dependency.
> BDEPEND="test? ( X? ( ${VIRTUALX_DEPEND} ) )"
We would also need to make the virtx call in src_test conditional on the X USE flag.
|
While dbus itself can be configured and built without X11 for eg. like it happens when running a plain `emerge sys-apps/dbus` (configure step output `Building X11 code: no`), I am not sure if it's possible to run the dbus tests without X11 as apparently it's a hard dependency. Is it possible? Reproducible: Always Steps to Reproduce: Run FEATURES=test emerge sys-apps/dbus on a system with X11 disabled. Actual Results: Various failures depending how the system is configured like: The following USE changes are necessary to proceed: # required by x11-base/xorg-server-1.20.10-r2::gentoo # required by x11-drivers/xf86-input-libinput-0.30.0::gentoo # required by x11-base/xorg-drivers-1.20-r2::gentoo[input_devices_libinput] >=media-libs/libglvnd-1.3.2-r2 X Expected Results: FEATURES=test should work without requiring X11?