dev-python/pillow: Spawn one virtx for all testing

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-07-15 14:35:42 +02:00
parent a7e190f8ca
commit 68e866ca2e

View File

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