ICU-10992 only warning with -w when a collator cannot be built from rules (eg with import)

X-SVN-Rev: 36490
This commit is contained in:
Markus Scherer 2014-09-12 23:14:25 +00:00
parent 03cbf5f82a
commit c07492e9ad

View file

@ -1225,7 +1225,7 @@ void CollationTest::buildTailoring(UCHARBUF *f, IcuTestErrorCode &errorCode) {
return;
}
if(errorCode.isFailure()) {
errln("RuleBasedCollator(rules) failed - %s", errorCode.errorName());
dataerrln("RuleBasedCollator(rules) failed - %s", errorCode.errorName());
infoln(UnicodeString(" reason: ") + reason);
if(parseError.offset >= 0) { infoln(" rules offset: %d", (int)parseError.offset); }
if(parseError.preContext[0] != 0 || parseError.postContext[0] != 0) {