oeqa/selftest/locale: Ensure tests work with ERROR_QA changes

The recent ERROR_QA changes adding build_deps exposed what were warnings in thi
test as it restricts the locales, then builds recipes with locale requirements
that were not met (in bash, gawk and python3).

Increase the list of generated locales to ensure this patches the recipes
being built and hence allowing the build to succeed.

(From OE-Core rev: ebe2df8ab6e9d4087f8ddbffbc84eea6c4405738)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2024-07-12 12:40:52 +01:00
parent d153bd264c
commit a5de8f412c

View File

@ -14,7 +14,7 @@ class LocalesTest(OESelftestTestCase):
features = [] features = []
features.append('EXTRA_IMAGE_FEATURES = "empty-root-password allow-empty-password allow-root-login"') features.append('EXTRA_IMAGE_FEATURES = "empty-root-password allow-empty-password allow-root-login"')
features.append('IMAGE_INSTALL:append = " glibc-utils localedef"') features.append('IMAGE_INSTALL:append = " glibc-utils localedef"')
features.append('GLIBC_GENERATE_LOCALES = "en_US.UTF-8 fr_FR.UTF-8"') features.append('GLIBC_GENERATE_LOCALES = "en_US.UTF-8 fr_FR.UTF-8 en_US.ISO-8859-1 de_DE.UTF-8 fr_FR.ISO-8859-1 zh_HK.BIG5-HKSCS tr_TR.UTF-8"')
features.append('IMAGE_LINGUAS:append = " en-us fr-fr"') features.append('IMAGE_LINGUAS:append = " en-us fr-fr"')
if binary_enabled: if binary_enabled:
features.append('ENABLE_BINARY_LOCALE_GENERATION = "1"') features.append('ENABLE_BINARY_LOCALE_GENERATION = "1"')