From 6037dd3e3150d5d125f64a73f5ffecd4d5f514c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Thu, 9 Jun 2022 14:31:18 +0200 Subject: dev-db/redis: limit a number of test clients to MAKEOPTS jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is necessary to cal ./runtest directly from src_test function in order to be able to pass --clients parameter. Bug: https://bugs.gentoo.org/649868 Signed-off-by: Petr Vaněk Signed-off-by: Sam James --- dev-db/redis/redis-5.0.14.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-db/redis/redis-5.0.14.ebuild') diff --git a/dev-db/redis/redis-5.0.14.ebuild b/dev-db/redis/redis-5.0.14.ebuild index 0d8391f04013..b36fb5e71c04 100644 --- a/dev-db/redis/redis-5.0.14.ebuild +++ b/dev-db/redis/redis-5.0.14.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools flag-o-matic systemd toolchain-funcs tmpfiles +inherit autotools edo flag-o-matic multiprocessing systemd tmpfiles toolchain-funcs DESCRIPTION="A persistent caching system, key-value and data structures database" HOMEPAGE="https://redis.io" @@ -127,6 +127,10 @@ src_compile() { emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}" } +src_test() { + edo ./runtest --clients "$(makeopts_jobs)" +} + src_install() { insinto /etc/ doins redis.conf sentinel.conf -- cgit v1.2.3