]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3: Ignore locale2 tests on musl
authorKhem Raj <raj.khem@gmail.com>
Wed, 19 Feb 2025 06:53:33 +0000 (22:53 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Feb 2025 11:56:44 +0000 (11:56 +0000)
These tests require additional locales not supported in musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.13.2.bb

index 52fac76c00a1d69f909716db5938609f736c3e8d..96478856b340ab05815aff3edcd5c9e183c23f9d 100644 (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"