[tracker-miners/sam/test-stopwords-dir-fix] tests: Use correct path to find stopwords
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/test-stopwords-dir-fix] tests: Use correct path to find stopwords
- Date: Thu, 16 Jan 2020 22:43:31 +0000 (UTC)
commit 6d3605dbcf6c2f58fb6b9d5c34695bb33afa0a26
Author: Sam Thursfield <sam afuera me uk>
Date: Thu Jan 16 23:41:50 2020 +0100
tests: Use correct path to find stopwords
This is a regression from when libtracker-miner moved to tracker.git,
which was causing noise like this in the test logs:
Tracker-Message: 23:32:16.897: Tracker couldn't read stopword
file:'/home/sam/src/tracker-miners/build/stopwords.en', Failed to open file
?/home/sam/src/tracker-miners/build/stopwords.en?: open() failed: No such file or directory
tests/libtracker-miner/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/libtracker-miner/meson.build b/tests/libtracker-miner/meson.build
index b3f87573d..ce063ed2b 100644
--- a/tests/libtracker-miner/meson.build
+++ b/tests/libtracker-miner/meson.build
@@ -23,7 +23,7 @@ libtracker_miner_test_c_args = [
]
libtracker_miner_test_environment = environment()
-libtracker_miner_test_environment.set('TRACKER_LANGUAGE_STOP_WORDS_DIR',
'@0@/src/libtracker-common/stop-words'.format(meson.source_root()))
+libtracker_miner_test_environment.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', tracker_uninstalled_stop_words_dir)
libtracker_miner_test_environment.set('GSETTINGS_SCHEMA_DIR', join_paths(meson.build_root(), 'data'))
libtracker_miner_test_deps = [tracker_miners_common_dep, tracker_miner, tracker_sparql]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]