1 |
commit: 1a93cf1b338b50f43e94dd400a158906e092a222 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 1 02:53:55 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 1 02:54:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a93cf1b |
7 |
|
8 |
app-metrics/redis_exporter: RESTRICT=test |
9 |
|
10 |
Bug: https://bugs.gentoo.org/732474 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild b/app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild |
18 |
index 1ce3491fa45..2621c21c99e 100644 |
19 |
--- a/app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild |
20 |
+++ b/app-metrics/redis_exporter/redis_exporter-1.20.0.ebuild |
21 |
@@ -434,6 +434,7 @@ RDEPEND=" |
22 |
acct-user/redis_exporter |
23 |
acct-group/redis_exporter" |
24 |
DEPEND="${RDEPEND}" |
25 |
+RESTRICT+=" test" |
26 |
|
27 |
src_prepare() { |
28 |
default |
29 |
@@ -451,7 +452,7 @@ src_compile() { |
30 |
} |
31 |
|
32 |
src_test() { |
33 |
- go test -work "${EGO_PN}" || die |
34 |
+ go test -work ./... || die |
35 |
} |
36 |
|
37 |
src_install() { |