summaryrefslogtreecommitdiff
path: root/tests/libtracker-sparql
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2018-07-17 14:54:29 +0200
committerSam Thursfield <sam@afuera.me.uk>2018-07-17 14:54:29 +0200
commit42bbd6ce89055b5963796ee54e101f6227314e74 (patch)
tree53f31788fabd49356ba8eb5115efcec37fadaa0c /tests/libtracker-sparql
parent37e4d84b28992fb386413275470ebdb68e43ba36 (diff)
downloadtracker-42bbd6ce89055b5963796ee54e101f6227314e74.tar.gz
meson: Consolite vars used for running tracker-store uninstalled
Most importantly, these are consumed in the tracker-miners.git project so that it can run when built with tracker core as a Meson subproject. This should theoretically allow building tracker-miners on systems that don't have tracker installed at all, although I think some problems remain with doing that. Note that meson.source_root() must never be used in variables that are consumed by a subproject, because in that situation they expand to the root of the *toplevel project* and not the current subproject.
Diffstat (limited to 'tests/libtracker-sparql')
-rw-r--r--tests/libtracker-sparql/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtracker-sparql/meson.build b/tests/libtracker-sparql/meson.build
index 49b28bc98..aec51fdc7 100644
--- a/tests/libtracker-sparql/meson.build
+++ b/tests/libtracker-sparql/meson.build
@@ -5,8 +5,8 @@ libtracker_sparql_tests = [
libtracker_sparql_test_c_args = tracker_c_args + [
'-DTEST',
- '-DTEST_DOMAIN_ONTOLOGY_RULE="@0@/src/tracker-store/default.rule"'.format(source_root),
- '-DTEST_ONTOLOGIES_DIR="@0@/src/ontologies/nepomuk"'.format(source_root),
+ '-DTEST_DOMAIN_ONTOLOGY_RULE="@0@"'.format(tracker_uninstalled_domain_rule),
+ '-DTEST_ONTOLOGIES_DIR="@0@"'.format(tracker_uninstalled_nepomuk_ontologies_dir),
]
libtracker_sparql_test_deps = [