diff options
author | 2022-06-09 14:31:18 +0200 | |
---|---|---|
committer | 2022-06-12 21:36:36 +0100 | |
commit | 6037dd3e3150d5d125f64a73f5ffecd4d5f514c1 (patch) | |
tree | 9605b4ff1109f01db8a41a6dc3a0e607d95ceffa /dev-db | |
parent | dev-db/redis: use edo function for all local test scripts (diff) | |
download | gentoo-6037dd3e3150d5d125f64a73f5ffecd4d5f514c1.tar.gz gentoo-6037dd3e3150d5d125f64a73f5ffecd4d5f514c1.tar.bz2 gentoo-6037dd3e3150d5d125f64a73f5ffecd4d5f514c1.zip |
dev-db/redis: limit a number of test clients to MAKEOPTS jobs
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 <arkamar@atlas.cz>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/redis/redis-5.0.14.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
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 |