[tracker-miners/sam/functional-tests-always: 36/36] build: Remove functional_tests= option
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/functional-tests-always: 36/36] build: Remove functional_tests= option
- Date: Mon, 16 Aug 2021 12:28:17 +0000 (UTC)
commit fbc7a7bcc64f3b996091e57b13823fafec455e3e
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Jun 17 16:53:40 2021 +0200
build: Remove functional_tests= option
We should always enable these. The only dependency added a configure
time is Python which our build system already requires.
Some tests will fail in certain build configurations, such as if
PyGObject is not available. That's expected, and if it's a problem
for you then try:
meson test --no-suite=functional ...
Partial fix for https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/162
meson_options.txt | 2 --
tests/meson.build | 4 +---
2 files changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index d0e3095a1..42117ce1a 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -3,8 +3,6 @@ option('tracker_core', type: 'combo', choices: ['system', 'subproject'], value:
option('extract', type: 'boolean', value: true,
description: 'Enable the Tracker metadata extractor')
-option('functional_tests', type: 'boolean', value: true,
- description: 'Enable the Tracker functional test suite')
option('guarantee_metadata', type: 'boolean', value: false,
description: 'Set nie:title and nie:contentCreated from filename and mtime if no metadata available')
option('man', type: 'boolean', value: true,
diff --git a/tests/meson.build b/tests/meson.build
index b559274ca..da6a623d8 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -14,6 +14,4 @@ test_bus_conf_file = configure_file(
output: 'test-bus.conf',
configuration: conf)
-if get_option('functional_tests')
- subdir('functional-tests')
-endif
+subdir('functional-tests')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]