[tracker-miners/wip/carlosg/shuffle-libtracker-miner: 57/116] tests: Set stop-words envvar on TrackerFileNotifier test
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/shuffle-libtracker-miner: 57/116] tests: Set stop-words envvar on TrackerFileNotifier test
- Date: Thu, 12 Dec 2019 10:20:54 +0000 (UTC)
commit 3d3bef09467b82b798863b8e9ec526ba72a97252
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Jun 24 00:01:08 2018 +0200
tests: Set stop-words envvar on TrackerFileNotifier test
This is necessary for it to run entirely uninstalled, as it ends
up using TrackerSparqlConnection for queries and updates.
tests/libtracker-miner/meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/tests/libtracker-miner/meson.build b/tests/libtracker-miner/meson.build
index a78ddcd6e..ec3937bd0 100644
--- a/tests/libtracker-miner/meson.build
+++ b/tests/libtracker-miner/meson.build
@@ -5,6 +5,9 @@ miner_test_c_args = test_c_args + [
'-DTEST_MINERS_DIR="@0@/mock-miners"'.format(meson.current_source_dir()),
]
+environment = environment()
+environment.set('TRACKER_LANGUAGE_STOP_WORDS_DIR',
'@0@/src/libtracker-common/stop-words'.format(meson.source_root()))
+
crawler_test = executable('tracker-crawler-test',
'tracker-crawler-test.c',
shared_libtracker_miner_crawler_sources,
@@ -18,7 +21,8 @@ file_notifier_test = executable('tracker-file-notifier-test',
dependencies: [tracker_miners_common_dep, tracker_miner, tracker_sparql],
c_args: miner_test_c_args
)
-test('miner-file-notifier', file_notifier_test)
+test('miner-file-notifier', file_notifier_test,
+ env: environment)
file_system_test = executable('tracker-file-system-test',
'tracker-file-system-test.c',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]