diff options
| author | Violet Purcell <vimproved@inventati.org> | 2024-05-31 14:11:03 -0400 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-05-31 19:37:06 +0100 |
| commit | d44d24e0255a08b27d5aad54f431eabb6ee93df9 (patch) | |
| tree | c0467b942836c655b85df9ce75d4837db6dc4bde /dev-lang/python/python-3.13.0_beta1_p3.ebuild | |
| parent | 357e185e7cbd85d89fb8baa0d56f043d48edd89f (diff) | |
| download | gentoo-d44d24e0255a08b27d5aad54f431eabb6ee93df9.tar.gz gentoo-d44d24e0255a08b27d5aad54f431eabb6ee93df9.tar.bz2 gentoo-d44d24e0255a08b27d5aad54f431eabb6ee93df9.zip | |
dev-lang/python: skip known failing tests on musl
Signed-off-by: Violet Purcell <vimproved@inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/36925
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-3.13.0_beta1_p3.ebuild')
| -rw-r--r-- | dev-lang/python/python-3.13.0_beta1_p3.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-lang/python/python-3.13.0_beta1_p3.ebuild b/dev-lang/python/python-3.13.0_beta1_p3.ebuild index 3744ca2daff1..792927c05468 100644 --- a/dev-lang/python/python-3.13.0_beta1_p3.ebuild +++ b/dev-lang/python/python-3.13.0_beta1_p3.ebuild @@ -305,6 +305,22 @@ src_configure() { ;; esac + # musl-specific skips + use elibc_musl && COMMON_TEST_SKIPS+=( + # various musl locale deficiencies + -x test__locale + -x test_c_locale_coercion + -x test_locale + -x test_re + + # known issues with find_library on musl + # https://bugs.python.org/issue21622 + -x test_ctypes + + # fpathconf, ttyname errno values + -x test_os + ) + if use pgo; then local profile_task_flags=( -m test @@ -372,6 +388,22 @@ src_configure() { ;; esac + # musl-specific skips + use elibc_musl && profile_task_flags+=( + # various musl locale deficiencies + -x test__locale + -x test_c_locale_coercion + -x test_locale + -x test_re + + # known issues with find_library on musl + # https://bugs.python.org/issue21622 + -x test_ctypes + + # fpathconf, ttyname errno values + -x test_os + ) + if has_version "app-arch/rpm" ; then # Avoid sandbox failure (attempts to write to /var/lib/rpm) profile_task_flags+=( |
