[glib/wip/pwithnall/macos-tests: 1/2] tests: Make debugcontroller and defaultvalue depend on dbus-daemon
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pwithnall/macos-tests: 1/2] tests: Make debugcontroller and defaultvalue depend on dbus-daemon
- Date: Sun, 20 Feb 2022 15:02:53 +0000 (UTC)
commit 5180c7de1e88b5b372efea47b59b558795ad6478
Author: Philip Withnall <pwithnall endlessos org>
Date: Sun Feb 20 14:57:53 2022 +0000
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>
gio/tests/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index eab7999e6..0c630b286 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -57,8 +57,6 @@ gio_tests = {
},
'data-input-stream' : {},
'data-output-stream' : {},
- 'debugcontroller' : {},
- 'defaultvalue' : {'extra_sources' : [giotypefuncs_inc]},
'fileattributematcher' : {},
'filter-streams' : {},
'giomodule' : {},
@@ -297,6 +295,8 @@ if host_machine.system() != 'windows'
'extra_sources' : extra_sources,
'suite' : ['slow'],
},
+ 'debugcontroller' : {},
+ 'defaultvalue' : {'extra_sources' : [giotypefuncs_inc]},
'gdbus-auth' : {'extra_sources' : extra_sources},
'gdbus-bz627724' : {'extra_sources' : extra_sources},
'gdbus-close-pending' : {'extra_sources' : extra_sources},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]