diff options
author | Martyn Russell <martyn@lanedo.com> | 2014-09-25 17:02:53 +0100 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2014-09-26 23:16:06 +0100 |
commit | 6ef34ac5314f63600b5fb19aac9065c7d576617d (patch) | |
tree | 60d5366dcbb012249a0c3352771fc4e7e26edd43 /tests | |
parent | 4ba5d2065a1fd9d09bacf0ecccfb0878114189c1 (diff) | |
download | tracker-6ef34ac5314f63600b5fb19aac9065c7d576617d.tar.gz |
data: Moved data/languages to src/libtracker-common/stop-words
Only API in libtracker-common uses these
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/functional-tests/310-fts-indexing.py | 2 | ||||
-rw-r--r-- | tests/functional-tests/fts-tc.py | 2 | ||||
-rw-r--r-- | tests/libtracker-fts/tracker-parser-test.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional-tests/310-fts-indexing.py b/tests/functional-tests/310-fts-indexing.py index 99db45d1c..99152bb29 100755 --- a/tests/functional-tests/310-fts-indexing.py +++ b/tests/functional-tests/310-fts-indexing.py @@ -288,7 +288,7 @@ class MinerFTSStopwordsTest (CommonMinerFTS): if "_" in langcode: langcode = langcode.split ("_")[0] - stopwordsfile = os.path.join (cfg.DATADIR, "tracker", "languages", "stopwords." + langcode) + stopwordsfile = os.path.join (cfg.DATADIR, "tracker", "stop-words", "stopwords." + langcode) if not os.path.exists (stopwordsfile): self.skipTest ("No stopwords for the current locale ('%s' doesn't exist)" % (stopwordsfile)) diff --git a/tests/functional-tests/fts-tc.py b/tests/functional-tests/fts-tc.py index 1c5686dd3..620802b24 100644 --- a/tests/functional-tests/fts-tc.py +++ b/tests/functional-tests/fts-tc.py @@ -469,7 +469,7 @@ class stopwords (TestUpdate): file_path = configuration.MYDOCS + TEST_TEXT """copy the test files """ - test_file='/usr/share/tracker/languages/stopwords.en' + test_file='/usr/share/tracker/stop-words/stopwords.en' f1=open(test_file,'r') lines = f1.readlines() f1.close() diff --git a/tests/libtracker-fts/tracker-parser-test.c b/tests/libtracker-fts/tracker-parser-test.c index 50e3402e2..7596742a0 100644 --- a/tests/libtracker-fts/tracker-parser-test.c +++ b/tests/libtracker-fts/tracker-parser-test.c @@ -359,7 +359,7 @@ main (int argc, char **argv) * need to set the following envvar with the path where the * dictionaries are. */ g_setenv ("TRACKER_LANGUAGE_STOP_WORDS_DIR", - TOP_SRCDIR "/data/languages", + TOP_SRCDIR "/src/libtracker-common/stop-words", TRUE); /* Add normalization checks */ |