From e84579b092eddc1815cbd92ab0dc769557d3d383 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 30 Jan 2022 13:11:15 +0100 Subject: dev-python/pillow: Run a single Xvfb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pillow/pillow-9.0.0-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/pillow/pillow-9.0.0-r1.ebuild b/dev-python/pillow/pillow-9.0.0-r1.ebuild index a1ac66234130..82a914de8bf7 100644 --- a/dev-python/pillow/pillow-9.0.0-r1.ebuild +++ b/dev-python/pillow/pillow-9.0.0-r1.ebuild @@ -82,10 +82,14 @@ python_configure_all() { tc-export PKG_CONFIG } +src_test() { + virtx distutils-r1_src_test +} + python_test() { "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - virtx epytest -p no:relaxed + epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" } python_install() { -- cgit v1.2.3-65-gdbad