Skip to content
Commit 02465868 authored by Marco Trevisan (Treviño)'s avatar Marco Trevisan (Treviño) Committed by Patrick Griffis
Browse files

tests: Ensure that dbus-daemon won't block the tests execution

Some tests are failing when G_MESSAGES_DEBUG=all is used because the
dbus-daemon output may cause stdout not full and then not writable
anymore. Causing a deadlock during tests [1].

To avoid this, in older versions of GLib explicitly make dbus-daemon to
print to another fd (mapped to stdout) and redirect the normal output
to stderr, so that glib won't have to handle that.

[1] https://gitlab.gnome.org/GNOME/glib/-/issues/2537
parent 6f057b59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment