diff options
Diffstat (limited to 'dev-db/rqlite/rqlite-4.4.0.ebuild')
-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 |