summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-03-31 19:53:55 -0700
committerZac Medico <zmedico@gentoo.org>2021-03-31 19:54:43 -0700
commit1a93cf1b338b50f43e94dd400a158906e092a222 (patch)
tree7c186301256b74401665270be6ce5ad26458f2b9 /app-metrics/redis_exporter
parentapp-metrics/redis_exporter: Fix whitespace (diff)
downloadgentoo-1a93cf1b338b50f43e94dd400a158906e092a222.tar.gz
gentoo-1a93cf1b338b50f43e94dd400a158906e092a222.tar.bz2
gentoo-1a93cf1b338b50f43e94dd400a158906e092a222.zip
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@gentoo.org>
Diffstat (limited to 'app-metrics/redis_exporter')
-rw-r--r--app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild3
1 files changed, 2 insertions, 1 deletions
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 1ce3491fa457..2621c21c99ec 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() {