summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James (sam_c) <sam@cmpct.info>2020-06-11 21:56:12 +0000
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-06-11 19:35:51 -0700
commitf3f15e6bcf8be448c80237b4f6f7adc91d98eca2 (patch)
tree2a6638ef2e4ed661969e63e52e49184a8eeaca0a /net-dns
parentgames-roguelike/angband: upgrade to 4.2.1 (diff)
downloadgentoo-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')
-rw-r--r--net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild5
-rw-r--r--net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild5
-rw-r--r--net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild5
-rw-r--r--net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild5
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