commit: e84579b092eddc1815cbd92ab0dc769557d3d383
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 12:11:15 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 00:23:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e84579b0
dev-python/pillow: Run a single Xvfb
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
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() {