X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftst_icu_I18N.c;fp=test%2Ftst_icu_I18N.c;h=cf328adc604fc86bcabc9394c757b352a94c9530;hb=479969ddd4d243955f2e64ef8571926429ad4f37;hp=1d6e2051f0046313ba4c2c39f1e1a794b580590b;hpb=def0d51c189bc8a2e9f5f9a67a58833897edecb7;p=yaz-moved-to-github.git diff --git a/test/tst_icu_I18N.c b/test/tst_icu_I18N.c index 1d6e205..cf328ad 100644 --- a/test/tst_icu_I18N.c +++ b/test/tst_icu_I18N.c @@ -1,4 +1,4 @@ -/* $Id: tst_icu_I18N.c,v 1.11 2007-10-29 13:50:57 marc Exp $ +/* $Id: tst_icu_I18N.c,v 1.12 2007-11-08 08:17:18 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -33,7 +33,7 @@ #include -#if HAVE_ICU +#if YAZ_HAVE_ICU #include #include @@ -514,7 +514,6 @@ void test_icu_I18N_chain(int argc, char **argv) YAZ_CHECK(icu_chain_assign_cstr(chain, en_str, &status)); - //printf("ICU chain:\ninput: '%s'\n", en_str); while (icu_chain_next_token(chain, &status)){ ; /* printf("%d '%s' '%s'\n", @@ -681,7 +680,7 @@ void test_chain_empty_chain(void) icu_chain_destroy(chain); } -#endif // HAVE_ICU +#endif /* YAZ_HAVE_ICU */ /* DO NOT EDIT THIS FILE IF YOUR EDITOR DOES NOT SUPPORT UTF-8 */ @@ -691,7 +690,7 @@ int main(int argc, char **argv) YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); -#if HAVE_ICU +#if YAZ_HAVE_ICU test_icu_I18N_casemap(argc, argv); test_icu_I18N_sortmap(argc, argv); @@ -702,13 +701,13 @@ int main(int argc, char **argv) test_chain_empty_chain(); test_bug_1140(); -#else /* HAVE_ICU */ +#else /* YAZ_HAVE_ICU */ printf("ICU unit tests omitted.\n" "Please install libicu36-dev and icu-doc or similar\n"); YAZ_CHECK(0 == 0); -#endif /* HAVE_ICU */ +#endif /* YAZ_HAVE_ICU */ YAZ_CHECK_TERM; }