From b975cabc6e2d7aaa3dea6f1e4a4d7f2c440d5c5a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 8 Nov 2007 07:54:17 +0000 Subject: [PATCH] Do not perform t17 if ICU is disabled --- test/api/t17.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/api/t17.c b/test/api/t17.c index 15289fa..6f2a312 100644 --- a/test/api/t17.c +++ b/test/api/t17.c @@ -1,4 +1,4 @@ -/* $Id: t17.c,v 1.2 2007-11-06 10:29:59 adam Exp $ +/* $Id: t17.c,v 1.3 2007-11-08 07:54:17 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /** \file - \brief tests unicode enabled searching (index_types) + \brief tests ICU enabled maps */ #include #include "testlib.h" @@ -34,6 +34,7 @@ const char *myrec[] = { static void tst(int argc, char **argv) { +#if HAVE_ICU ZebraService zs = tl_start_up("zebra17.cfg", argc, argv); ZebraHandle zh = zebra_open(zs, 0); @@ -51,6 +52,7 @@ static void tst(int argc, char **argv) YAZ_CHECK(tl_close_down(zh, zs)); +#endif } TL_MAIN -- 1.7.10.4