dev-vcs/mercurial: remove unsupported tests on big-endian

Closes: https://bugs.gentoo.org/815121
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Cédric Krier <cedk@gentoo.org>
This commit is contained in:
Cédric Krier
2021-12-18 16:40:42 +01:00
parent 75c3edc44a
commit 23a6f9e69e
2 changed files with 16 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ zstd-safe-2.0.5+zstd.1.4.5
zstd-sys-1.4.17+zstd.1.4.5
"
inherit bash-completion-r1 cargo elisp-common distutils-r1 flag-o-matic multiprocessing
inherit bash-completion-r1 cargo elisp-common distutils-r1 flag-o-matic multiprocessing toolchain-funcs
DESCRIPTION="Scalable distributed SCM"
HOMEPAGE="https://www.mercurial-scm.org/"
@@ -269,6 +269,13 @@ src_test() {
rm -f test-convert-tla* # GNU Arch tla
rm -f test-largefiles* # tends to time out
rm -f test-https* # requires to support tls1.0
if [[ $(tc-endian) == "big" ]]; then
# tests no working on big-endian
# https://bz.mercurial-scm.org/show_bug.cgi?id=6607
rm -f test-clone-uncompressed.t
rm -f test-generaldelta.t
rm -f test-persistent-nodemap.t
fi
if [[ ${EUID} -eq 0 ]]; then
einfo "Removing tests which require user privileges to succeed"
rm -f test-convert*

View File

@@ -123,7 +123,7 @@ CRATES="
zstd-sys-1.4.17+zstd.1.4.5
"
inherit bash-completion-r1 cargo elisp-common distutils-r1 flag-o-matic multiprocessing
inherit bash-completion-r1 cargo elisp-common distutils-r1 flag-o-matic multiprocessing toolchain-funcs
DESCRIPTION="Scalable distributed SCM"
HOMEPAGE="https://www.mercurial-scm.org/"
@@ -261,6 +261,13 @@ src_test() {
rm -f test-largefiles* # tends to time out
rm -f test-https* # requires to support tls1.0
rm -rf test-removeemptydirs* # requires access to access parent directories
if [[ $(tc-endian) == "big" ]]; then
# tests no working on big-endian
# https://bz.mercurial-scm.org/show_bug.cgi?id=6607
rm -f test-clone-uncompressed.t
rm -f test-generaldelta.t
rm -f test-persistent-nodemap.t
fi
if [[ ${EUID} -eq 0 ]]; then
einfo "Removing tests which require user privileges to succeed"
rm -f test-convert*