[tracker] libtracker-sparql: Fix test case when FTS is disabled



commit 2236f039497f54fa2470649e822ebc7c624dc6f8
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Sep 30 15:38:23 2010 +0100

    libtracker-sparql: Fix test case when FTS is disabled

 tests/libtracker-sparql/tracker-test.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/libtracker-sparql/tracker-test.c b/tests/libtracker-sparql/tracker-test.c
index 073cbcc..cf62581 100644
--- a/tests/libtracker-sparql/tracker-test.c
+++ b/tests/libtracker-sparql/tracker-test.c
@@ -91,7 +91,7 @@ static const gchar *queries[6] = {
 	NULL
 };
 
-#endif
+#endif /* HAVE_TRACKER_FTS */
 
 static void
 test_tracker_sparql_escape_string (void)
@@ -221,6 +221,8 @@ test_tracker_sparql_cursor_next_async (void)
 	test_tracker_sparql_cursor_next_async_query (0);
 }
 
+#endif /* HAVE_TRACKER_FTS */
+
 static void
 test_tracker_sparql_connection_locking_sync (void)
 {
@@ -276,8 +278,6 @@ test_tracker_sparql_connection_locking_async (void)
 	g_assert (c3 != NULL);
 }
 
-#endif
-
 gint
 main (gint argc, gchar **argv)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]