From 0fe085d7abd16f4ff3ae38ae02c71098904cb845 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 21 Aug 2020 15:32:16 +0200 Subject: dev-python/dask: Respect MAKEOPTS for parallel tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/dask/dask-2.23.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dev-python/dask') diff --git a/dev-python/dask/dask-2.23.0.ebuild b/dev-python/dask/dask-2.23.0.ebuild index b4855c7b7821..1930b91f3406 100644 --- a/dev-python/dask/dask-2.23.0.ebuild +++ b/dev-python/dask/dask-2.23.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6..9} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" HOMEPAGE="https://dask.org/" @@ -48,6 +48,7 @@ src_prepare() { } python_test() { - pytest -vv -m "not network" -n auto || + pytest -vv -m "not network" \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || die "Tests failed with ${EPYTHON}" } -- cgit v1.2.3-65-gdbad