[tracker-miners] tests: Make TEST_TAP_ENABLED a boolean value
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] tests: Make TEST_TAP_ENABLED a boolean value
- Date: Thu, 15 Apr 2021 13:56:18 +0000 (UTC)
commit 9ac818534c39ee58e1ebf8fe350e46f03b756d78
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Apr 3 11:33:51 2021 +0200
tests: Make TEST_TAP_ENABLED a boolean value
We receive it as a string and deal with it as a boolean, resulting
in tap.py being always required.
tests/functional-tests/configuration.json.in | 2 +-
tests/functional-tests/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/configuration.json.in b/tests/functional-tests/configuration.json.in
index b77ca1d50..6a45d8eca 100644
--- a/tests/functional-tests/configuration.json.in
+++ b/tests/functional-tests/configuration.json.in
@@ -9,6 +9,6 @@
"TEST_GSETTINGS_SCHEMA_DIR": "@TEST_GSETTINGS_SCHEMA_DIR@",
"TEST_LANGUAGE_STOP_WORDS_DIR": "@TEST_LANGUAGE_STOP_WORDS_DIR@",
"TEST_WRITEBACK_MODULES_DIR": "@TEST_WRITEBACK_MODULES_DIR@",
- "TEST_TAP_ENABLED": "@TEST_TAP_ENABLED@",
+ "TEST_TAP_ENABLED": @TEST_TAP_ENABLED@,
"TRACKER_EXTRACT_PATH": "@TRACKER_EXTRACT_PATH@"
}
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build
index d6208aed3..9ed3be7b5 100644
--- a/tests/functional-tests/meson.build
+++ b/tests/functional-tests/meson.build
@@ -18,7 +18,7 @@ testconf.set('TEST_GSETTINGS_SCHEMA_DIR', tracker_miners_uninstalled_gsettings_s
testconf.set('TEST_LANGUAGE_STOP_WORDS_DIR', tracker_uninstalled_stop_words_dir)
testconf.set('TEST_ONTOLOGIES_DIR', tracker_uninstalled_nepomuk_ontologies_dir)
testconf.set('TEST_WRITEBACK_MODULES_DIR', tracker_uninstalled_writeback_modules_dir)
-testconf.set('TEST_TAP_ENABLED', get_option('tests_tap_protocol'))
+testconf.set('TEST_TAP_ENABLED', get_option('tests_tap_protocol').to_string())
testconf.set('TRACKER_EXTRACT_PATH', uninstalled_tracker_extract_path)
test_domain_rule = configure_file(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]