diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-04-13 20:54:57 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-04-13 20:56:08 -0700 |
commit | 6cc13946303b308a4bc6a0ca0a8369d211be9b0b (patch) | |
tree | 341ace09e61d0ccc8d21be24b9f86a72f980a6a1 /dev-db/rqlite | |
parent | games-roguelike/stone-soup: Remove old (diff) | |
download | gentoo-6cc13946303b308a4bc6a0ca0a8369d211be9b0b.tar.gz gentoo-6cc13946303b308a4bc6a0ca0a8369d211be9b0b.tar.bz2 gentoo-6cc13946303b308a4bc6a0ca0a8369d211be9b0b.zip |
dev-db/rqlite: add src_test
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-db/rqlite')
-rw-r--r-- | dev-db/rqlite/rqlite-4.4.0.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-db/rqlite/rqlite-4.4.0.ebuild b/dev-db/rqlite/rqlite-4.4.0.ebuild index f77d97d23605..70fc7453fecf 100644 --- a/dev-db/rqlite/rqlite-4.4.0.ebuild +++ b/dev-db/rqlite/rqlite-4.4.0.ebuild @@ -45,6 +45,12 @@ src_compile() { -v -work -x ${EGO_BUILD_FLAGS} ${EGO_PN}/cmd/... || die } +src_test() { + GOPATH="${WORKDIR}/${P}" \ + GOBIN="${WORKDIR}/${P}/bin" \ + go test -v ./... || die +} + src_install() { dobin "${WORKDIR}/${P}/bin"/${PN}{,d} dodoc -r *.md DOC |