The testing emake call had a missing "|| die", thus the test phase
only errored out if the last tested python version failed tests,
but not if earlier python version tests failed. This was observed
from pytest for python2.7 missing due to the missing dep and that
not being fatal.
Add the missing test dep.
Closes: https://bugs.gentoo.org/670184
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
cairo? ( x11-libs/cairo[glib] )
test? (
dev-libs/atk[introspection]
+ dev-python/pytest[${PYTHON_USEDEP}]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
x11-libs/cairo[glib]
testing() {
local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
- emake -C "${BUILD_DIR}" check
+ emake -C "${BUILD_DIR}" check || die "emake check failed"
}
virtx python_foreach_impl testing
}