[tracker-miners/sam/test-runner-fix: 6/8] functional-tests: Fix tracker-writeback tests



commit 56d9700dffa87838e7477ee56cc051a027f4a40b
Author: Sam Thursfield <sam afuera me uk>
Date:   Sat Nov 17 11:56:13 2018 +0100

    functional-tests: Fix tracker-writeback tests
    
    These were failing because the modules could not be found. Now, they
    still fail but for a different reason :-)

 meson.build                        | 1 +
 tests/functional-tests/meson.build | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 14fdc9575..e3c3d6eb3 100644
--- a/meson.build
+++ b/meson.build
@@ -377,6 +377,7 @@ tracker_miner_services_dir = join_paths(get_option('prefix'), get_option('datadi
 tracker_writeback_modules_dir = join_paths(get_option('prefix'), get_option('libdir'), 
'tracker-miners-@0@/writeback-modules'.format(tracker_api_version))
 
 tracker_uninstalled_extract_rules_dir = join_paths(meson.current_build_dir(), 'src', 'tracker-extract')
+tracker_uninstalled_writeback_modules_dir = join_paths(meson.current_build_dir(), 'src', 'tracker-writeback')
 
 gsettings_schema_dir = join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
 vapi_dir = join_paths(get_option('prefix'), get_option('datadir'), 'vala', 'vapi')
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build
index aefacef5a..aeb7f8512 100644
--- a/tests/functional-tests/meson.build
+++ b/tests/functional-tests/meson.build
@@ -71,6 +71,7 @@ test_env.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', tracker_uninstalled_stop_words_d
 test_env.set('TRACKER_FUNCTIONAL_TEST_BUILD_DIR', meson.build_root())
 test_env.set('TRACKER_FUNCTIONAL_TEST_CONFIG', config_json_full_path)
 test_env.set('TRACKER_TEST_DOMAIN_ONTOLOGY_RULE', tracker_uninstalled_domain_rule)
+test_env.set('TRACKER_WRITEBACK_MODULES_DIR', tracker_uninstalled_writeback_modules_dir)
 test_env.set('TRACKER_TESTS_VERBOSE', '1')
 
 foreach t: extractor_tests


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]