[tracker/harmattan-pre-signal-updates: 1362/1380] libtracker-sparql tests: do not require a prior installation



commit 8f3472c4816dfe8f6bd29322d4b4b96da68e4506
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]