summaryrefslogtreecommitdiff
path: root/tests/functional-tests/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional-tests/ipc')
-rw-r--r--tests/functional-tests/ipc/meson.build2
-rw-r--r--tests/functional-tests/ipc/test-insert-or-replace.vala4
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/functional-tests/ipc/meson.build b/tests/functional-tests/ipc/meson.build
index a0548b1c9..f07d08bfe 100644
--- a/tests/functional-tests/ipc/meson.build
+++ b/tests/functional-tests/ipc/meson.build
@@ -7,6 +7,8 @@ sandbox_args = ['-m', 'trackertestutils', '--dbus-config', test_dbus_config, '--
sandbox_env = environment()
+test_env.set('GSETTINGS_SCHEMA_DIR', tracker_uninstalled_gsettings_schema_dir)
+test_env.set('LANG', 'en_GB.utf-8')
test_env.prepend('PYTHONPATH', tracker_uninstalled_testutils_dir)
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)
diff --git a/tests/functional-tests/ipc/test-insert-or-replace.vala b/tests/functional-tests/ipc/test-insert-or-replace.vala
index ce64eecbe..78ba81c58 100644
--- a/tests/functional-tests/ipc/test-insert-or-replace.vala
+++ b/tests/functional-tests/ipc/test-insert-or-replace.vala
@@ -148,9 +148,9 @@ int main (string[] args) {
print ("ORIGINAL : %u contacts: %f\n", y, timer.elapsed());
}
+ return 0;
} catch (GLib.Error e) {
critical ("%s", e.message);
+ return 1;
}
-
- return 0;
}