-/* $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.
#include <yaz/test.h>
-#if HAVE_ICU
+#if YAZ_HAVE_ICU
#include <yaz/icu_I18N.h>
#include <string.h>
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",
icu_chain_destroy(chain);
}
-#endif // HAVE_ICU
+#endif /* YAZ_HAVE_ICU */
/* DO NOT EDIT THIS FILE IF YOUR EDITOR DOES NOT SUPPORT UTF-8 */
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);
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;
}