diff options
author | William Hubbs <williamh@gentoo.org> | 2020-06-07 15:34:45 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-06-07 15:44:02 -0500 |
commit | 1e7781a07ed2ac8a4e66fb425f33d2dea72459e4 (patch) | |
tree | 8cce35e404a6d381c35900dbf2084278ad14d249 /app-misc/spire | |
parent | games-roguelike/moria: upgrade 5.7.10 -> 5.7.12 (diff) | |
download | gentoo-1e7781a07ed2ac8a4e66fb425f33d2dea72459e4.tar.gz gentoo-1e7781a07ed2ac8a4e66fb425f33d2dea72459e4.tar.bz2 gentoo-1e7781a07ed2ac8a4e66fb425f33d2dea72459e4.zip |
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>
Diffstat (limited to 'app-misc/spire')
-rw-r--r-- | app-misc/spire/spire-0.10.0.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app-misc/spire/spire-0.10.0.ebuild b/app-misc/spire/spire-0.10.0.ebuild index 1e4f516c7b82..c55c76dc083a 100644 --- a/app-misc/spire/spire-0.10.0.ebuild +++ b/app-misc/spire/spire-0.10.0.ebuild @@ -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 |