diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2021-04-03 11:25:34 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2021-04-15 15:55:43 +0200 |
commit | 1a9ee989ca4e202502a2834bdcfb13bed0a849d0 (patch) | |
tree | b58a4f0747115182c65d60e1c6ddf345225b8034 | |
parent | aa5d1d33ba2aee01344aace0674b8fa6c1647c29 (diff) | |
download | tracker-wip/carlosg/tap-checks-fix.tar.gz |
tests: Make TEST_TAP_ENABLED a boolean valuewip/carlosg/tap-checks-fix
We receive it as a string and deal with it as a boolean, resulting
in tap.py being always required.
-rw-r--r-- | tests/functional-tests/configuration.json.in | 2 | ||||
-rw-r--r-- | 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 65f2c0bbe..c3f785e6e 100644 --- a/tests/functional-tests/configuration.json.in +++ b/tests/functional-tests/configuration.json.in @@ -3,6 +3,6 @@ "TEST_ONTOLOGIES_DIR": "@TEST_ONTOLOGIES_DIR@", "TEST_DBUS_DAEMON_CONFIG_FILE": "@TEST_DBUS_DAEMON_CONFIG_FILE@", "TEST_PORTAL_FLATPAK_INFO": "@TEST_PORTAL_FLATPAK_INFO@", - "TEST_TAP_ENABLED": "@TEST_TAP_ENABLED@", + "TEST_TAP_ENABLED": @TEST_TAP_ENABLED@, "TRACKER_VERSION": "@TRACKER_VERSION@" } diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build index 70130f65e..c15b3b2f0 100644 --- a/tests/functional-tests/meson.build +++ b/tests/functional-tests/meson.build @@ -9,7 +9,7 @@ testconf.set('TEST_ONTOLOGIES_DIR', tracker_uninstalled_nepomuk_ontologies_dir) testconf.set('TEST_DBUS_DAEMON_CONFIG_FILE', build_root / 'tests' / 'test-bus.conf') testconf.set('TEST_PORTAL_FLATPAK_INFO', source_root / 'tests' / 'flatpak-info') testconf.set('TRACKER_VERSION', meson.project_version()) -testconf.set('TEST_TAP_ENABLED', get_option('tests_tap_protocol')) +testconf.set('TEST_TAP_ENABLED', get_option('tests_tap_protocol').to_string()) config_json = configure_file( input: 'configuration.json.in', |