From f646e1f7474a0d4e2a284c73d7acb0e105fca0f0 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 24 Apr 2020 10:16:09 +0200 Subject: dev-python/twisted: Run tests in virtx to avoid crashing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/twisted/twisted-19.10.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-python/twisted') diff --git a/dev-python/twisted/twisted-19.10.0.ebuild b/dev-python/twisted/twisted-19.10.0.ebuild index 7dc1cb2ddc54..1fedad603686 100644 --- a/dev-python/twisted/twisted-19.10.0.ebuild +++ b/dev-python/twisted/twisted-19.10.0.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) PYTHON_REQ_USE="threads(+)" -inherit distutils-r1 +inherit distutils-r1 virtualx TWISTED_PN="Twisted" TWISTED_P="${TWISTED_PN}-${PV}" @@ -98,6 +98,10 @@ python_prepare_all() { distutils-r1_python_prepare_all } +src_test() { + virtx distutils-r1_src_test +} + python_test() { distutils_install_for_testing -- cgit v1.2.3-65-gdbad