summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-3.14.0_alpha3-r100.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-01-04 20:46:01 +0100
committerMichał Górny <mgorny@gentoo.org>2025-01-04 21:12:14 +0100
commit26ee6de5bbc80fc478c61d95f95ec51640cb5dcd (patch)
treeac8da8e0505a843b68390b99599ffe5ee617b082 /dev-lang/python/python-3.14.0_alpha3-r100.ebuild
parentd157acdb0602efaa968393f4e88ee2bd0ab0f2bb (diff)
downloadgentoo-26ee6de5bbc80fc478c61d95f95ec51640cb5dcd.tar.gz
gentoo-26ee6de5bbc80fc478c61d95f95ec51640cb5dcd.tar.bz2
gentoo-26ee6de5bbc80fc478c61d95f95ec51640cb5dcd.zip
dev-lang/python: Ignore test failures in profiling run
Closes: https://bugs.gentoo.org/942956 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-3.14.0_alpha3-r100.ebuild')
-rw-r--r--dev-lang/python/python-3.14.0_alpha3-r100.ebuild38
1 files changed, 3 insertions, 35 deletions
diff --git a/dev-lang/python/python-3.14.0_alpha3-r100.ebuild b/dev-lang/python/python-3.14.0_alpha3-r100.ebuild
index eb87a6ac8197..21c55d5918be 100644
--- a/dev-lang/python/python-3.14.0_alpha3-r100.ebuild
+++ b/dev-lang/python/python-3.14.0_alpha3-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -374,48 +374,16 @@ src_configure() {
# Hangs (actually runs indefinitely executing itself w/ many cpython builds)
# bug #900429
-x test_tools
-
- # Fails in profiling run, passes in src_test().
- -x test_capi
- -x test_embed
- -x test_external_inspection
)
- # Arch-specific skips. See #931888 for a collection of these.
- case ${CHOST} in
- alpha*)
- profile_task_flags+=(
- -x test_os
- )
- ;;
- hppa*)
- profile_task_flags+=(
- -x test_descr
- # bug 931908
- -x test_exceptions
- -x test_os
- )
- ;;
- powerpc64-*) # big endian
- profile_task_flags+=(
- # bug 931908
- -x test_exceptions
- )
- ;;
- riscv*)
- profile_task_flags+=(
- -x test_statistics
- )
- ;;
- esac
-
if has_version "app-arch/rpm" ; then
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
profile_task_flags+=(
-x test_distutils
)
fi
- local -x PROFILE_TASK="${profile_task_flags[*]}"
+ # PGO sometimes fails randomly
+ local -x PROFILE_TASK="${profile_task_flags[*]} || true"
fi
local myeconfargs=(