app-misc/spire: restrict tests for now

I attempted to run tests, but they fail because of no "test files".
I will look at re-enabling them later.

Closes: https://bugs.gentoo.org/722332
Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2020-06-07 15:44:02 -05:00
parent 2a81109ee4
commit 1e7781a07e
+6
View File
@@ -493,11 +493,17 @@ COMMON_DEPEND="acct-group/spire
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
RESTRICT+=" test"
src_compile() {
go build -o spire-agent ./cmd/spire-agent || die
go build -o spire-server ./cmd/spire-server || die
}
src_test() {
go test ./... || die "tests failed"
}
src_install() {
exeinto /opt/spire
doexe spire-agent spire-server