From dfcf995c2d729f04fdfbec8d23b60b4a6cbc579b Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 22 Jun 2021 00:04:35 +0200 Subject: dev-python/pythran: Run tests in parallel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pythran/pythran-0.9.11.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dev-python/pythran') diff --git a/dev-python/pythran/pythran-0.9.11.ebuild b/dev-python/pythran/pythran-0.9.11.ebuild index 20e8e8c81ad8..1e70b667c252 100644 --- a/dev-python/pythran/pythran-0.9.11.ebuild +++ b/dev-python/pythran/pythran-0.9.11.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Ahead of Time compiler for numeric kernels" HOMEPAGE=" @@ -26,6 +26,10 @@ RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] >=dev-python/ply-3.4[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" distutils_enable_tests pytest @@ -36,5 +40,5 @@ src_prepare() { python_test() { local -x COLUMNS=80 - epytest + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" } -- cgit v1.2.3-65-gdbad