summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-17 06:09:10 +0000
committerSam James <sam@gentoo.org>2020-09-17 06:12:38 +0000
commit3e1e7081591def0a66e3d072a5546b0937f56c9e (patch)
tree64b05d4776ba87a411732555c991753f56bb9d10 /dev-libs/zziplib
parentdev-libs/zziplib: enable tests (diff)
downloadgentoo-3e1e7081591def0a66e3d072a5546b0937f56c9e.tar.gz
gentoo-3e1e7081591def0a66e3d072a5546b0937f56c9e.tar.bz2
gentoo-3e1e7081591def0a66e3d072a5546b0937f56c9e.zip
dev-libs/zziplib: restrict tests (for now)
We've needed to stabilise this package a few times recently and leaving known-broken tests enabled is asking for trouble for the next time that comes around. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/zziplib')
-rw-r--r--dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild b/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
index a4e536480be2..0c6dda1bd7f6 100644
--- a/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
+++ b/dev-libs/zziplib/zziplib-0.13.71_p20200419.ebuild
@@ -16,8 +16,11 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0/13"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="sdl static-libs test"
-
-RESTRICT="!test? ( test )"
+# Tests fail for now, only recently added.
+# Restricted to avoid blocking stabilisations.
+# https://github.com/gdraheim/zziplib/issues/97
+RESTRICT="test"
+#RESTRICT="!test? ( test )"
BDEPEND="
${PYTHON_DEPS}
@@ -65,5 +68,5 @@ src_configure() {
src_test() {
cd "$S"/test/ || die
- ${EPYTHON} "$S"/test/zziptests.py || die
+ "${EPYTHON}" "$S"/test/zziptests.py || die "Tests failed with ${EPYTHON}"
}