From 68e866ca2e8abf24c76df6aad40d6e00803cf12d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 15 Jul 2019 14:35:42 +0200 Subject: [PATCH] dev-python/pillow: Spawn one virtx for all testing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 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() { -- 2.26.2