commit: f3f15e6bcf8be448c80237b4f6f7adc91d98eca2 Author: Sam James (sam_c) <sam <AT> cmpct <DOT> info> AuthorDate: Thu Jun 11 21:56:12 2020 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Fri Jun 12 02:35:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f15e6b
net-dns/dnscrypt-proxy: run tests Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) <sam <AT> cmpct.info> Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild | 5 +++++ net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild | 5 +++++ net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild | 5 +++++ net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild index 7bc0187ab8c..4f7ddaa4a1b 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild @@ -39,6 +39,11 @@ src_compile() { popd >/dev/null || die } +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + src_install() { pushd "${PN}" >/dev/null || die diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild index 2a13bf21225..a0456c6a5fc 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild @@ -39,6 +39,11 @@ src_compile() { popd >/dev/null || die } +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + src_install() { pushd "${PN}" >/dev/null || die diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild index 1de44bd952e..bfc4fef8eb0 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild @@ -39,6 +39,11 @@ src_compile() { popd >/dev/null || die } +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + src_install() { pushd "${PN}" >/dev/null || die diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild index 7bc0187ab8c..4f7ddaa4a1b 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild @@ -39,6 +39,11 @@ src_compile() { popd >/dev/null || die } +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + src_install() { pushd "${PN}" >/dev/null || die