mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-02 05:43:07 +02:00
GTestDBus: Allow to specify the dbus-daemon binary
The env var G_TEST_DBUS_DAEMON lets you change dbus-daemon to whatever you want. This is useful to test with gdbus-daemon
This commit is contained in:
parent
0d8b1b14d2
commit
74214e2997
@ -514,6 +514,9 @@ start_daemon (GTestDBus *self)
|
|||||||
gsize termpos;
|
gsize termpos;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
|
if (g_getenv ("G_TEST_DBUS_DAEMON") != NULL)
|
||||||
|
argv[0] = g_getenv ("G_TEST_DBUS_DAEMON");
|
||||||
|
|
||||||
/* Write config file and set its path in argv */
|
/* Write config file and set its path in argv */
|
||||||
file = write_config_file (self);
|
file = write_config_file (self);
|
||||||
config_path = g_file_get_path (file);
|
config_path = g_file_get_path (file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user