- if (!success){
- printf("\nERROR\n");
- printf("original string: '%s' (%d)\n", src8cstr, src8cstr_len);
- printf("icu_casemap '%s:%c' '%s' (%d)\n",
- locale, action, dest8->utf8, dest8->utf8_len);
- printf("expected string: '%s' (%d)\n", chk8cstr, chk8cstr_len);
+ if (!success)
+ {
+ yaz_log(YLOG_WARN, "test_icu_casemap failed");
+ yaz_log(YLOG_LOG, "Original string: '%s' (%d)",
+ src8cstr, src8cstr_len);
+ yaz_log(YLOG_LOG, "icu_casemap '%s:%c' '%s' (%d)",
+ locale, action, dest8->utf8, dest8->utf8_len);
+ yaz_log(YLOG_LOG, "expected string: '%s' (%d)",
+ chk8cstr, chk8cstr_len);