[tracker/wip/sam/meson: 121/124] tests: Fix tracker-encoding-test when libicu charset detection is used
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/sam/meson: 121/124] tests: Fix tracker-encoding-test when libicu charset detection is used
- Date: Sun, 30 Oct 2016 20:55:07 +0000 (UTC)
commit 2064a0a53d046486f9f68541834f049d5d117c17
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Oct 30 19:18:26 2016 +0000
tests: Fix tracker-encoding-test when libicu charset detection is used
I'm not sure this test is actually useful for anything, maybe we should
just delete it...
tests/libtracker-extract/tracker-encoding-test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libtracker-extract/tracker-encoding-test.c
b/tests/libtracker-extract/tracker-encoding-test.c
index 148aedb..f6089ba 100644
--- a/tests/libtracker-extract/tracker-encoding-test.c
+++ b/tests/libtracker-extract/tracker-encoding-test.c
@@ -53,7 +53,7 @@ static void
test_encoding_can_guess (void)
{
/* This just duplicates the function code... */
-#if defined (HAVE_ENCA) || defined (HAVE_MEEGOTOUCH)
+#if defined (HAVE_ENCA) || defined (HAVE_MEEGOTOUCH) || defined (HAVE_LIBICU_CHARSET_DETECTION)
g_assert (tracker_encoding_can_guess ());
#else
g_assert (!tracker_encoding_can_guess ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]