python3: Ignore locale2 tests on musl

These tests require additional locales not supported in musl

(From OE-Core rev: ce3190f9c9a23fc3277e9a6f91b06b2fc60dafb1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2025-02-18 22:53:33 -08:00
committed by Richard Purdie
parent 1ce86daa3d
commit 85efdf6278

View File

@@ -264,7 +264,7 @@ do_install:append:class-nativesdk () {
}
do_install_ptest:append:class-target:libc-musl () {
sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-x test__locale -x test_c_locale_coercion -x test_locale -x test_os test_re -x test__xxsubinterpreters -x test_threading"|' ${D}${PTEST_PATH}/run-ptest
sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-x test__locale -x test_c_locale_coercion -x test_locale -x test_os test_re -x test__xxsubinterpreters -x test_threading --ignore test.test_strptime.StrptimeTests.test_date_locale2"|' ${D}${PTEST_PATH}/run-ptest
}
SYSROOT_PREPROCESS_FUNCS:append:class-target = " provide_target_config_script"