[glib: 2/9] tests: enable defaultvalue and debugcontroller on win32
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/9] tests: enable defaultvalue and debugcontroller on win32
- Date: Mon, 21 Mar 2022 12:19:27 +0000 (UTC)
commit cfc47558fc8674646714f5bd11ea94d0fd0b1cb9
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Sat Jan 22 15:30:13 2022 +0400
tests: enable defaultvalue and debugcontroller on win32
The test still requires dbus-daemon.
Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>
gio/tests/meson.build | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index 81ff551dd..021296411 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -171,6 +171,14 @@ else
}
endif
+have_dbus_daemon = find_program('dbus-daemon', required : false).found()
+if have_dbus_daemon
+ gio_tests += {
+ 'debugcontroller' : {},
+ 'defaultvalue' : {'extra_sources' : [giotypefuncs_inc]},
+ }
+endif
+
# Test programs buildable on UNIX only
if host_machine.system() != 'windows'
gio_tests += {
@@ -244,8 +252,6 @@ if host_machine.system() != 'windows'
}
endif
- # Test programs that need to bring up a session bus (requires dbus-daemon)
- have_dbus_daemon = find_program('dbus-daemon', required : false).found()
if have_dbus_daemon
annotate_args = [
'--annotate', 'org.project.Bar', 'Key1', 'Value1',
@@ -318,8 +324,6 @@ 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]