From: Michał Górny Date: Mon, 15 Jul 2019 12:35:42 +0000 (+0200) Subject: dev-python/pillow: Spawn one virtx for all testing X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=68e866ca2e8abf24c76df6aad40d6e00803cf12d;p=gentoo.git dev-python/pillow: Spawn one virtx for all testing Signed-off-by: Michał Górny --- diff --git a/dev-python/pillow/pillow-6.1.0.ebuild b/dev-python/pillow/pillow-6.1.0.ebuild index 7a4b5480a0a8..ca751b2624ca 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() {