[tracker] libtracker-data: Disable fn:starts-with test for !libicu cases
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Disable fn:starts-with test for !libicu cases
- Date: Wed, 1 Dec 2010 11:41:25 +0000 (UTC)
commit c71aaa644e876b85bbadda7a8d42d1ede46b06ee
Author: Martyn Russell <martyn lanedo com>
Date: Wed Dec 1 11:36:39 2010 +0000
libtracker-data: Disable fn:starts-with test for !libicu cases
This is in place until we have a fix for bug:
https://bugzilla.gnome.org/show_bug.cgi?id=636074
tests/libtracker-data/tracker-sparql-test.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-data/tracker-sparql-test.c b/tests/libtracker-data/tracker-sparql-test.c
index 1e968ab..d8bdcd0 100644
--- a/tests/libtracker-data/tracker-sparql-test.c
+++ b/tests/libtracker-data/tracker-sparql-test.c
@@ -354,6 +354,17 @@ main (int argc, char **argv)
for (i = 0; tests[i].test_name; i++) {
gchar *testpath;
+#ifndef HAVE_LIBICU
+ /* Skip tests which fail collation tests and are known
+ * to do so. For more details see:
+ *
+ * https://bugzilla.gnome.org/show_bug.cgi?id=636074
+ */
+ if (strcmp (tests[i].test_name, "functions/functions-xpath-2") == 0) {
+ continue;
+ }
+#endif
+
testpath = g_strconcat ("/libtracker-data/sparql/", tests[i].test_name, NULL);
g_test_add_data_func (testpath, &tests[i], test_sparql_query);
g_free (testpath);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]