[tracker] libtracker-sparql tests: do not require a prior installation
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-sparql tests: do not require a prior installation
- Date: Thu, 16 Sep 2010 17:19:07 +0000 (UTC)
commit 65924c57f2d3ddaab51ff6ebd474c5b84eff6a22
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Sep 16 19:18:54 2010 +0200
libtracker-sparql tests: do not require a prior installation
tests/libtracker-sparql/tracker-test.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-sparql/tracker-test.c b/tests/libtracker-sparql/tracker-test.c
index c14ca81..5558173 100644
--- a/tests/libtracker-sparql/tracker-test.c
+++ b/tests/libtracker-sparql/tracker-test.c
@@ -233,6 +233,9 @@ main (gint argc, gchar **argv)
g_type_init ();
g_test_init (&argc, &argv, NULL);
+ /* do not require prior installation */
+ g_setenv ("TRACKER_SPARQL_MODULE_PATH", "../../src/libtracker-bus/.libs", TRUE);
+
main_loop = g_main_loop_new (NULL, FALSE);
g_assert (main_loop != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]