[tracker/rss-enclosures] libtracker-sparql tests: do not require a prior installation



commit 6be22105362b5fc5dff9409add9d731c75abe8dd
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]