From e56fe73e14a05236624ec13d310cb326cd077cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 30 Jan 2022 13:02:36 +0100 Subject: dev-python/ipython: 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/ipython/ipython-8.0.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-python/ipython') diff --git a/dev-python/ipython/ipython-8.0.1.ebuild b/dev-python/ipython/ipython-8.0.1.ebuild index a1b847bc2132..3354470b2300 100644 --- a/dev-python/ipython/ipython-8.0.1.ebuild +++ b/dev-python/ipython/ipython-8.0.1.ebuild @@ -99,6 +99,10 @@ python_compile_all() { fi } +src_test() { + virtx distutils-r1_src_test +} + python_test() { local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 local EPYTEST_DESELECT=( @@ -113,7 +117,7 @@ python_test() { IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions ) - virtx epytest + epytest || die "Tests failed with ${EPYTHON}" } python_install() { -- cgit v1.2.3