diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2020-04-26 01:27:02 +0200 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2020-04-28 01:10:26 +0200 |
commit | 8a7872383efdc5d8dc96de42b46ca88080347746 (patch) | |
tree | f55748439e01c7826a59edb8f78775819b1ea543 | |
parent | 34a6149dc67036b24e129f03a6ce095a8117b975 (diff) | |
download | tracker-8a7872383efdc5d8dc96de42b46ca88080347746.tar.gz |
tests: Remove obsolete method of setting ontology location
We can now set the ontology location without these hacks.
-rw-r--r-- | tests/functional-tests/ipc/meson.build | 1 | ||||
-rw-r--r-- | tests/functional-tests/ipc/test-bus-query-cancellation.c | 2 | ||||
-rw-r--r-- | tests/libtracker-sparql/tracker-fd-test.c | 2 | ||||
-rw-r--r-- | tests/libtracker-sparql/tracker-sparql-test.c | 2 | ||||
-rw-r--r-- | tests/meson.build | 1 |
5 files changed, 0 insertions, 8 deletions
diff --git a/tests/functional-tests/ipc/meson.build b/tests/functional-tests/ipc/meson.build index bf7728eeb..fd8a58cbc 100644 --- a/tests/functional-tests/ipc/meson.build +++ b/tests/functional-tests/ipc/meson.build @@ -3,7 +3,6 @@ functional_ipc_test_c_args = [ ] test_env.set('LANG', 'en_GB.utf-8') -test_env.set('TRACKER_DB_ONTOLOGIES_DIR', tracker_uninstalled_nepomuk_ontologies_dir) test_env.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', tracker_uninstalled_stop_words_dir) bus_query_cancellation_test = executable('test-bus-query-cancellation', diff --git a/tests/functional-tests/ipc/test-bus-query-cancellation.c b/tests/functional-tests/ipc/test-bus-query-cancellation.c index def7abdaf..1859e4f99 100644 --- a/tests/functional-tests/ipc/test-bus-query-cancellation.c +++ b/tests/functional-tests/ipc/test-bus-query-cancellation.c @@ -176,8 +176,6 @@ main (gint argc, gchar **argv) setlocale (LC_ALL, ""); - g_setenv ("TRACKER_DB_ONTOLOGIES_DIR", TEST_ONTOLOGIES_DIR, TRUE); - g_test_init (&argc, &argv, NULL); /* g_test_init() enables verbose logging by default, but Tracker is too diff --git a/tests/libtracker-sparql/tracker-fd-test.c b/tests/libtracker-sparql/tracker-fd-test.c index 3c260ccae..04cf8013e 100644 --- a/tests/libtracker-sparql/tracker-fd-test.c +++ b/tests/libtracker-sparql/tracker-fd-test.c @@ -783,8 +783,6 @@ main (gint argc, gchar **argv) g_log_set_handler ("Tracker", G_LOG_LEVEL_DEBUG | G_LOG_LEVEL_INFO, g_log_default_handler, NULL); } - g_setenv ("TRACKER_DB_ONTOLOGIES_DIR", TEST_ONTOLOGIES_DIR, TRUE); - connection = create_dbus_connection (NULL); g_test_add ("/steroids/tracker/tracker_sparql_query_iterate", DataFixture, NULL, insert_test_data, diff --git a/tests/libtracker-sparql/tracker-sparql-test.c b/tests/libtracker-sparql/tracker-sparql-test.c index f2211ee88..644c8425f 100644 --- a/tests/libtracker-sparql/tracker-sparql-test.c +++ b/tests/libtracker-sparql/tracker-sparql-test.c @@ -263,8 +263,6 @@ main (gint argc, gchar **argv) setlocale (LC_ALL, ""); - g_setenv ("TRACKER_DB_ONTOLOGIES_DIR", TEST_ONTOLOGIES_DIR, TRUE); - g_test_init (&argc, &argv, NULL); /* g_test_init() enables verbose logging by default, but Tracker is too diff --git a/tests/meson.build b/tests/meson.build index 5911592a6..e0647d9f2 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -21,7 +21,6 @@ foreach t: tests test_env = environment() test_env.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', join_paths(source_root, 'src', 'libtracker-common', 'stop-words')) - test_env.set('TRACKER_DB_ONTOLOGIES_DIR', join_paths(source_root, 'src', 'ontologies', 'nepomuk')) test_env.set('LANG', 'en_US.UTF8') test(test_name, test_exe, |