summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2022-01-01 18:21:04 +0100
committerCédric Krier <cedk@gentoo.org>2022-01-01 18:21:47 +0100
commit50f3789da01c0e0683a85f67411347fbefe4a320 (patch)
tree614ff015a99fb92b8a80f966851a4a98ffa58d10 /dev-vcs/mercurial
parentdev-vcs/mercurial: remove unused local variable (diff)
downloadgentoo-50f3789da01c0e0683a85f67411347fbefe4a320.tar.gz
gentoo-50f3789da01c0e0683a85f67411347fbefe4a320.tar.bz2
gentoo-50f3789da01c0e0683a85f67411347fbefe4a320.zip
dev-vcs/mercurial: Skip test for Python 3.10
The mercurial tests are not yet supporting Python 3.10. Closes: https://bugs.gentoo.org/829589 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Cédric Krier <cedk@gentoo.org>
Diffstat (limited to 'dev-vcs/mercurial')
-rw-r--r--dev-vcs/mercurial/mercurial-5.8.1.ebuild6
-rw-r--r--dev-vcs/mercurial/mercurial-6.0.ebuild4
-rw-r--r--dev-vcs/mercurial/mercurial-9999.ebuild4
3 files changed, 12 insertions, 2 deletions
diff --git a/dev-vcs/mercurial/mercurial-5.8.1.ebuild b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
index b0dd6d923ed1..001bdb53dcb0 100644
--- a/dev-vcs/mercurial/mercurial-5.8.1.ebuild
+++ b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
@@ -291,8 +291,10 @@ src_test() {
}
python_test() {
- local TEST_DIR
-
+ if [[ ${EPYTHON} == python3.10 ]]; then
+ einfo "Skipping tests for unsupported Python 3.10"
+ return
+ fi
distutils_install_for_testing
cd tests || die
PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \
diff --git a/dev-vcs/mercurial/mercurial-6.0.ebuild b/dev-vcs/mercurial/mercurial-6.0.ebuild
index 2626b7df8aeb..3fbbe98117a5 100644
--- a/dev-vcs/mercurial/mercurial-6.0.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.0.ebuild
@@ -281,6 +281,10 @@ src_test() {
}
python_test() {
+ if [[ ${EPYTHON} == python3.10 ]]; then
+ einfo "Skipping tests for unsupported Python 3.10"
+ return
+ fi
distutils_install_for_testing
cd tests || die
PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \
diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild
index b1bfcc0dae1f..d60f93143ed4 100644
--- a/dev-vcs/mercurial/mercurial-9999.ebuild
+++ b/dev-vcs/mercurial/mercurial-9999.ebuild
@@ -164,6 +164,10 @@ src_test() {
}
python_test() {
+ if [[ ${EPYTHON} == python3.10 ]]; then
+ einfo "Skipping tests for unsupported Python 3.10"
+ return
+ fi
distutils_install_for_testing
cd tests || die
PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \