src_test needs the same GOPATH as src_compile to run. Some tests are
currently failing, so add RESTRICT=test until upstream devs can fix
tests.
Bug: https://bugs.gentoo.org/show_bug.cgi?id=623430
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
+RESTRICT="test"
DEPEND="
app-arch/zip
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
}
+
+src_test() {
+ GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
+RESTRICT="test"
DEPEND="
app-arch/zip
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
}
+
+src_test() {
+ GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}
systemd_dounit "${FILESDIR}"/${PN}.service
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf ${PN}.service
}
+
+src_test() {
+ GOPATH="${S}" emake -C src/${EGO_PN%/*} test
+}