diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2018-07-17 14:54:29 +0200 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2018-07-17 14:54:29 +0200 |
commit | 42bbd6ce89055b5963796ee54e101f6227314e74 (patch) | |
tree | 53f31788fabd49356ba8eb5115efcec37fadaa0c /tests/tracker-steroids | |
parent | 37e4d84b28992fb386413275470ebdb68e43ba36 (diff) | |
download | tracker-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/tracker-steroids')
-rw-r--r-- | tests/tracker-steroids/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tracker-steroids/meson.build b/tests/tracker-steroids/meson.build index d8e780685..1330fe3d6 100644 --- a/tests/tracker-steroids/meson.build +++ b/tests/tracker-steroids/meson.build @@ -1,6 +1,6 @@ test_c_args = [ - '-DTEST_DOMAIN_ONTOLOGY_RULE="@0@/src/tracker-store/default.rule"'.format(meson.source_root()), - '-DTEST_ONTOLOGIES_DIR="@0@/src/ontologies/nepomuk"'.format(meson.source_root()), + '-DTEST_DOMAIN_ONTOLOGY_RULE="@0@"'.format(tracker_uninstalled_domain_rule), + '-DTEST_ONTOLOGIES_DIR="@0@"'.format(tracker_uninstalled_nepomuk_ontologies_dir), ] steroids_test = executable('tracker-steroids-test', |