[gnome-calculator] GCi: disable UI tests by default
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] GCi: disable UI tests by default
- Date: Mon, 21 Oct 2019 21:32:59 +0000 (UTC)
commit bc51835b1918279138f438a8472513b228b30740
Author: Daniel Espinosa <esodan gmail com>
Date: Mon Oct 21 16:30:15 2019 -0500
GCi: disable UI tests by default
You should use new ui-tests enable to run test for
GCi requiring an X/Wayland/Broadway/Windows server
meson_options.txt | 3 ++-
tests/meson.build | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 96472bb7..a5756f7b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,3 +1,4 @@
option('disable-ui', type : 'boolean', value : false, description : 'Disable GTK+ program')
option('vala-version', type: 'string', value : '', description : 'Use another version of Vala (only the
latest is officially supported)')
-option('disable-introspection', type : 'boolean', value : false, description : 'Disable GObject
Introspection Typelib generation')
\ No newline at end of file
+option('disable-introspection', type : 'boolean', value : false, description : 'Disable GObject
Introspection Typelib generation')
+option('ui-tests', type : 'boolean', value : false, description : 'Execute UI tests: requires
X/Wayland/Broadway/Windows server')
diff --git a/tests/meson.build b/tests/meson.build
index b65bd9f4..ccca485a 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -50,7 +50,7 @@ test_serializer = executable('test-serializer', test_serializer_sources,
)
test('Serializer test', test_serializer)
-
+if get_option('ui-tests')
gci_test_deps = [
gee,
gtk,
@@ -74,6 +74,8 @@ test_entry_controler = executable('test-entry-controller', test_entry_controler_
test('gci-entry-controller', test_entry_controler)
endif
+endif
+
tests_deps = [
gio,
glib,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]