Commit c297c67e authored by Carlos Garnacho's avatar Carlos Garnacho

tests: Remove needless HAVE_TRACKER_FTS check

This test does not really rely on FTS itself, but the tracker ontology which
is unconditionally installed.
parent a70ab280
......@@ -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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment