diff options
author | 2023-11-08 10:10:20 +0100 | |
---|---|---|
committer | 2023-11-08 10:11:11 +0100 | |
commit | 50e0d10bc63470224d5693b83875aa9888bd2a8a (patch) | |
tree | dafb26153dbeabc83a4e911e0a1474a4b22a2180 /dev-python/stestr | |
parent | dev-python/tempest: Enable py3.12 (diff) | |
download | gentoo-50e0d10bc63470224d5693b83875aa9888bd2a8a.tar.gz gentoo-50e0d10bc63470224d5693b83875aa9888bd2a8a.tar.bz2 gentoo-50e0d10bc63470224d5693b83875aa9888bd2a8a.zip |
dev-python/stestr: Respect EPYTEST_JOBS/MAKEOPTS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/stestr')
-rw-r--r-- | dev-python/stestr/stestr-4.1.0.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/stestr/stestr-4.1.0.ebuild b/dev-python/stestr/stestr-4.1.0.ebuild index facea035e081..7760baf20bc5 100644 --- a/dev-python/stestr/stestr-4.1.0.ebuild +++ b/dev-python/stestr/stestr-4.1.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 pypi +inherit distutils-r1 multiprocessing pypi DESCRIPTION="A parallel Python test runner built around subunit" HOMEPAGE=" @@ -41,5 +41,6 @@ BDEPEND=" python_test() { local -x PYTHONPATH="${BUILD_DIR}/install$(python_get_sitedir)" stestr init || die - stestr run || die "Tests failed with ${EPYTHON}" + stestr run --concurrency "${EPYTEST_JOBS:-$(makeopts_jobs)}" || + die "Tests failed with ${EPYTHON}" } |