dovecot-2.2: lib-fts: Fixed test-fts-filter when building withou...
dovecot at dovecot.org
dovecot at dovecot.org
Thu May 14 11:04:14 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/d09429bdb340
changeset: 18691:d09429bdb340
user: Timo Sirainen <tss at iki.fi>
date: Thu May 14 14:02:13 2015 +0300
description:
lib-fts: Fixed test-fts-filter when building without libstemmer
diffstat:
src/lib-fts/test-fts-filter.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (30 lines):
diff -r a2c3a0f671a6 -r d09429bdb340 src/lib-fts/test-fts-filter.c
--- a/src/lib-fts/test-fts-filter.c Thu May 14 12:36:38 2015 +0300
+++ b/src/lib-fts/test-fts-filter.c Thu May 14 14:02:13 2015 +0300
@@ -478,6 +478,7 @@
test_end();
}
+#ifdef HAVE_FTS_STEMMER
static void test_fts_filter_normalizer_stopwords_stemmer_eng(void)
{
int ret;
@@ -533,6 +534,7 @@
test_end();
}
#endif
+#endif
/* TODO: Functions to test 1. ref-unref pairs 2. multiple registers +
an unregister + find */
@@ -557,8 +559,10 @@
test_fts_filter_normalizer_french,
test_fts_filter_normalizer_empty,
test_fts_filter_normalizer_invalid_id,
+#ifdef HAVE_FTS_STEMMER
test_fts_filter_normalizer_stopwords_stemmer_eng,
#endif
+#endif
NULL
};
int ret;
More information about the dovecot-cvs
mailing list