commit: 68e866ca2e8abf24c76df6aad40d6e00803cf12d Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jul 15 12:35:42 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jul 15 12:51:33 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68e866ca
dev-python/pillow: Spawn one virtx for all testing Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pillow/pillow-6.1.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/pillow/pillow-6.1.0.ebuild b/dev-python/pillow/pillow-6.1.0.ebuild index 7a4b5480a0a..ca751b2624c 100644 --- a/dev-python/pillow/pillow-6.1.0.ebuild +++ b/dev-python/pillow/pillow-6.1.0.ebuild @@ -79,10 +79,14 @@ python_compile_all() { use doc && emake -C docs html } +src_test() { + virtx distutils-r1_src_test +} + python_test() { "${PYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - virtx pytest -vv -p no:relaxed + pytest -vv -p no:relaxed || die "Tests fail with ${EPYTHON}" } python_install() {