From bd4b92d16b883879219696355f1b8c2fb9e0eb49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 20 Jun 2020 23:08:31 +0200 Subject: [PATCH] dev-python/lit: Dedupe with new eclass code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/lit/lit-10.0.1.9999.ebuild | 6 +++--- dev-python/lit/lit-10.0.1_rc1.ebuild | 6 +++--- dev-python/lit/lit-11.0.0.9999.ebuild | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dev-python/lit/lit-10.0.1.9999.ebuild b/dev-python/lit/lit-10.0.1.9999.ebuild index c9394c7a11908..b9123ef7bf146 100644 --- a/dev-python/lit/lit-10.0.1.9999.ebuild +++ b/dev-python/lit/lit-10.0.1.9999.ebuild @@ -6,7 +6,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python2_7 python3_{6..9} ) -inherit distutils-r1 llvm.org multiprocessing +inherit distutils-r1 llvm.org DESCRIPTION="A stand-alone install of the LLVM suite testing tool" HOMEPAGE="https://llvm.org/" @@ -34,6 +34,6 @@ src_prepare() { python_test() { local -x LIT_PRESERVES_TMP=1 - ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ - -vv tests || die + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die } diff --git a/dev-python/lit/lit-10.0.1_rc1.ebuild b/dev-python/lit/lit-10.0.1_rc1.ebuild index c9394c7a11908..b9123ef7bf146 100644 --- a/dev-python/lit/lit-10.0.1_rc1.ebuild +++ b/dev-python/lit/lit-10.0.1_rc1.ebuild @@ -6,7 +6,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python2_7 python3_{6..9} ) -inherit distutils-r1 llvm.org multiprocessing +inherit distutils-r1 llvm.org DESCRIPTION="A stand-alone install of the LLVM suite testing tool" HOMEPAGE="https://llvm.org/" @@ -34,6 +34,6 @@ src_prepare() { python_test() { local -x LIT_PRESERVES_TMP=1 - ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ - -vv tests || die + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die } diff --git a/dev-python/lit/lit-11.0.0.9999.ebuild b/dev-python/lit/lit-11.0.0.9999.ebuild index c9394c7a11908..b9123ef7bf146 100644 --- a/dev-python/lit/lit-11.0.0.9999.ebuild +++ b/dev-python/lit/lit-11.0.0.9999.ebuild @@ -6,7 +6,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python2_7 python3_{6..9} ) -inherit distutils-r1 llvm.org multiprocessing +inherit distutils-r1 llvm.org DESCRIPTION="A stand-alone install of the LLVM suite testing tool" HOMEPAGE="https://llvm.org/" @@ -34,6 +34,6 @@ src_prepare() { python_test() { local -x LIT_PRESERVES_TMP=1 - ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \ - -vv tests || die + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die }