dev-python/pillow: Run a single Xvfb

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-01-30 13:11:15 +01:00
parent e56fe73e14
commit e84579b092

View File

@@ -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() {