mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
tests: Make debugcontroller and defaultvalue depend on dbus-daemon
As they use `g_test_dbus_*()`, they depend on dbus-daemon, so move them to the part of the Meson file which lists those tests. This disables them running on platforms which don’t have `dbus-daemon` available. Arguably, this should be done by returning an error from `g_test_dbus_up()` and then calling `g_test_skip()`, so the test is correctly recorded as having been skipped. But that’s a fix for another time. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
ae903744ee
commit
5180c7de1e
@ -57,8 +57,6 @@ gio_tests = {
|
|||||||
},
|
},
|
||||||
'data-input-stream' : {},
|
'data-input-stream' : {},
|
||||||
'data-output-stream' : {},
|
'data-output-stream' : {},
|
||||||
'debugcontroller' : {},
|
|
||||||
'defaultvalue' : {'extra_sources' : [giotypefuncs_inc]},
|
|
||||||
'fileattributematcher' : {},
|
'fileattributematcher' : {},
|
||||||
'filter-streams' : {},
|
'filter-streams' : {},
|
||||||
'giomodule' : {},
|
'giomodule' : {},
|
||||||
@ -297,6 +295,8 @@ if host_machine.system() != 'windows'
|
|||||||
'extra_sources' : extra_sources,
|
'extra_sources' : extra_sources,
|
||||||
'suite' : ['slow'],
|
'suite' : ['slow'],
|
||||||
},
|
},
|
||||||
|
'debugcontroller' : {},
|
||||||
|
'defaultvalue' : {'extra_sources' : [giotypefuncs_inc]},
|
||||||
'gdbus-auth' : {'extra_sources' : extra_sources},
|
'gdbus-auth' : {'extra_sources' : extra_sources},
|
||||||
'gdbus-bz627724' : {'extra_sources' : extra_sources},
|
'gdbus-bz627724' : {'extra_sources' : extra_sources},
|
||||||
'gdbus-close-pending' : {'extra_sources' : extra_sources},
|
'gdbus-close-pending' : {'extra_sources' : extra_sources},
|
||||||
|
Loading…
Reference in New Issue
Block a user