X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft17.c;h=6f2a3129147501854ce5930d34b62d2ed9370303;hb=b975cabc6e2d7aaa3dea6f1e4a4d7f2c440d5c5a;hp=84b1ae3e905c82fdabb43793c2459e06bb971bea;hpb=4b903c542156253ebb2a4f004b528fe9e3af5212;p=idzebra-moved-to-github.git diff --git a/test/api/t17.c b/test/api/t17.c index 84b1ae3..6f2a312 100644 --- a/test/api/t17.c +++ b/test/api/t17.c @@ -1,4 +1,4 @@ -/* $Id: t17.c,v 1.1 2007-10-29 13:43:58 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); @@ -43,8 +44,7 @@ static void tst(int argc, char **argv) YAZ_CHECK(tl_query(zh, "@attr 1=title notfound", 0)); /* we should get 3 hits. But 0 for now */ -#if 0 - +#if 1 YAZ_CHECK(tl_query(zh, "@attr 1=title title", 3)); #else YAZ_CHECK(tl_query(zh, "@attr 1=title title", 0)); @@ -52,6 +52,7 @@ static void tst(int argc, char **argv) YAZ_CHECK(tl_close_down(zh, zs)); +#endif } TL_MAIN