From e38ac306bc139b9e64eea8bbbc83899876be620f Mon Sep 17 00:00:00 2001 From: Craig Cornelius Date: Thu, 21 Nov 2024 21:52:34 +0000 Subject: [PATCH] ICU-22920 fix exhaustive tests for likely subtags failure ICU-22976 --- icu4c/source/test/intltest/loctest.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/icu4c/source/test/intltest/loctest.cpp b/icu4c/source/test/intltest/loctest.cpp index 3131286abc89..f3e16d3fa0dc 100644 --- a/icu4c/source/test/intltest/loctest.cpp +++ b/icu4c/source/test/intltest/loctest.cpp @@ -5923,6 +5923,11 @@ testLikelySubtagsLineFn(void *context, return; } + if ((uprv_strcmp(source.c_str(), "und-Latn-RS") == 0 ) + && THIS->logKnownIssue("ICU-22976", "unexpected likely subtags for und-Latn-RS")) { + return; + } + Locale actualMax(l); actualMax.addLikelySubtags(*pErrorCode); if (addLikely == "FAIL") {