[tracker] tests: Remove needless HAVE_TRACKER_FTS check



commit c297c67e548b1fccc181f0781e7b577918c8bdb5
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Feb 23 14:08:17 2019 +0100

    tests: Remove needless HAVE_TRACKER_FTS check
    
    This test does not really rely on FTS itself, but the tracker ontology which
    is unconditionally installed.

 tests/libtracker-sparql/tracker-sparql-test.c | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/tests/libtracker-sparql/tracker-sparql-test.c b/tests/libtracker-sparql/tracker-sparql-test.c
index 43ecf489d..de371feb5 100644
--- a/tests/libtracker-sparql/tracker-sparql-test.c
+++ b/tests/libtracker-sparql/tracker-sparql-test.c
@@ -38,8 +38,6 @@ ESCAPE_TEST_DATA test_data []  = {
 
 static GMainLoop *main_loop;
 
-#if HAVE_TRACKER_FTS
-
 #define N_QUERIES 3
 
 static GCancellable *cancellables[N_QUERIES] = { NULL, };
@@ -56,8 +54,6 @@ static const gchar *queries[N_QUERIES] = {
        "SELECT ?p WHERE { ?p tracker:fulltextIndexed true }",
 };
 
-#endif /* HAVE_TRACKER_FTS */
-
 static void
 test_tracker_sparql_escape_string (void)
 {
@@ -81,8 +77,6 @@ test_tracker_sparql_escape_uri_vprintf (void)
        g_free (result);
 }
 
-#if HAVE_TRACKER_FTS
-
 static void test_tracker_sparql_cursor_next_async_query (TrackerSparqlConnection *connection,
                                                          gint                     query);
 
@@ -203,8 +197,6 @@ test_tracker_sparql_cursor_next_async (void)
        g_main_loop_run (main_loop);
 }
 
-#endif /* HAVE_TRACKER_FTS */
-
 static void
 test_tracker_sparql_connection_locking_sync (void)
 {
@@ -390,11 +382,8 @@ main (gint argc, gchar **argv)
                         test_tracker_sparql_connection_locking_sync);
        g_test_add_func ("/libtracker-sparql/tracker-sparql/tracker_sparql_connection_locking_async",
                         test_tracker_sparql_connection_locking_async);
-
-#if HAVE_TRACKER_FTS
        g_test_add_func ("/libtracker-sparql/tracker-sparql/tracker_sparql_cursor_next_async",
                         test_tracker_sparql_cursor_next_async);
-#endif
 
        result = g_test_run ();
 


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