commit:     1a93cf1b338b50f43e94dd400a158906e092a222
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  1 02:53:55 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Apr  1 02:54:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a93cf1b

app-metrics/redis_exporter: RESTRICT=test

Bug: https://bugs.gentoo.org/732474
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild 
b/app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild
index 1ce3491fa45..2621c21c99e 100644
--- a/app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild
+++ b/app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild
@@ -434,6 +434,7 @@ RDEPEND="
        acct-user/redis_exporter
        acct-group/redis_exporter"
 DEPEND="${RDEPEND}"
+RESTRICT+=" test"
 
 src_prepare() {
        default
@@ -451,7 +452,7 @@ src_compile() {
 }
 
 src_test() {
-       go test -work "${EGO_PN}" || die
+       go test -work ./... || die
 }
 
 src_install() {

Reply via email to