[tracker-miners/sam/test-runner-fix: 14/31] functional-tests: Fix tracker-writeback tests



commit d5beae53edbf8d21a43b80851966c550a4a8ee9e
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 5045fd390..05505860d 100644
--- a/meson.build
+++ b/meson.build
@@ -379,6 +379,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 723866ea6..8819733d2 100644
--- a/tests/functional-tests/meson.build
+++ b/tests/functional-tests/meson.build
@@ -72,6 +72,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]