diff options
author | Sam James (sam_c) <sam@cmpct.info> | 2020-06-11 21:56:12 +0000 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-06-11 19:35:51 -0700 |
commit | f3f15e6bcf8be448c80237b4f6f7adc91d98eca2 (patch) | |
tree | 2a6638ef2e4ed661969e63e52e49184a8eeaca0a /net-dns | |
parent | games-roguelike/angband: upgrade to 4.2.1 (diff) | |
download | gentoo-f3f15e6bcf8be448c80237b4f6f7adc91d98eca2.tar.gz gentoo-f3f15e6bcf8be448c80237b4f6f7adc91d98eca2.tar.bz2 gentoo-f3f15e6bcf8be448c80237b4f6f7adc91d98eca2.zip |
net-dns/dnscrypt-proxy: run tests
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-dns')
4 files changed, 20 insertions, 0 deletions
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 7bc0187ab8ce..4f7ddaa4a1b8 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 2a13bf212258..a0456c6a5fc3 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 1de44bd952e5..bfc4fef8eb03 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 7bc0187ab8ce..4f7ddaa4a1b8 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 |