summaryrefslogtreecommitdiff
path: root/tests/tracker-steroids/tracker-test.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-06-29 17:17:01 +0200
committerCarlos Garnacho <carlosg@gnome.org>2017-06-29 20:49:07 +0200
commitb109b0d2911466eacf1f3a0be653bde7122125bf (patch)
tree011e3900e766d622036749477f59cb6f29d67b4d /tests/tracker-steroids/tracker-test.c
parent943dced8b70e06825d7ca2387a64306022bf0a17 (diff)
downloadtracker-wip/carlosg/domain-ontologies.tar.gz
libtracker-common: Add a last resort envvar to load default domain ontologywip/carlosg/domain-ontologies
This can only be used if the default domain ontology file is not found, and is now used on tests that do rely on the default tracker-store instance. Also, add back the TRACKER_DB_ONTOLOGIES_DIR, under the same restrictions.
Diffstat (limited to 'tests/tracker-steroids/tracker-test.c')
-rw-r--r--tests/tracker-steroids/tracker-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tracker-steroids/tracker-test.c b/tests/tracker-steroids/tracker-test.c
index b5ed7d547..e9782dca8 100644
--- a/tests/tracker-steroids/tracker-test.c
+++ b/tests/tracker-steroids/tracker-test.c
@@ -693,6 +693,8 @@ main (gint argc, gchar **argv)
/* test D-Bus backend */
g_setenv ("TRACKER_SPARQL_BACKEND", "bus", TRUE);
+ g_setenv ("TRACKER_TEST_DOMAIN_ONTOLOGY_RULE", TEST_DOMAIN_ONTOLOGY_RULE, TRUE);
+ g_setenv ("TRACKER_DB_ONTOLOGIES_DIR", TEST_ONTOLOGIES_DIR, TRUE);
connection = tracker_sparql_connection_get (NULL, NULL);