Snap for 9537280 from 515c39b50babf376572b8f1563a2be373da4e84c to mainline-media-release
Change-Id: I658b24477b8d316a8a27873c43149a35ba2409a3
diff --git a/icu4c/source/test/intltest/loctest.cpp b/icu4c/source/test/intltest/loctest.cpp
index f170df4..a14bac7 100644
--- a/icu4c/source/test/intltest/loctest.cpp
+++ b/icu4c/source/test/intltest/loctest.cpp
@@ -924,8 +924,9 @@
;
/* TODO: Change this test to be more like the cloctst version? */
- if (testCount != 594)
- errln("Expected getISOLanguages() to return 594 languages; it returned %d", testCount);
+ // Allow more than a min number of languages provided in AOSP
+ if (testCount < 594)
+ errln("Expected getISOLanguages() to return at least 594 languages; it returned %d", testCount);
else {
for (i = 0; i < 15; i++) {
int32_t j;