public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/AnyEvent-CacheDNS/
Date: Sat, 21 May 2016 00:36:55 +0000 (UTC)	[thread overview]
Message-ID: <1463789468.cfccd023a6210c915399ffae3d74c8d4d2384b5e.dilfridge@gentoo> (raw)

commit:     cfccd023a6210c915399ffae3d74c8d4d2384b5e
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sun May  8 11:11:46 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat May 21 00:11:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfccd023

dev-perl/AnyEvent-CacheDNS: Disable tests without explict network grants.

Testing does DNS lookups, which fail under network-sandboxing.

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"

 dev-perl/AnyEvent-CacheDNS/AnyEvent-CacheDNS-0.80.0.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-perl/AnyEvent-CacheDNS/AnyEvent-CacheDNS-0.80.0.ebuild b/dev-perl/AnyEvent-CacheDNS/AnyEvent-CacheDNS-0.80.0.ebuild
index e97462d..8fb37bc 100644
--- a/dev-perl/AnyEvent-CacheDNS/AnyEvent-CacheDNS-0.80.0.ebuild
+++ b/dev-perl/AnyEvent-CacheDNS/AnyEvent-CacheDNS-0.80.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,3 +22,11 @@ DEPEND="${RDEPEND}
 	>=dev-perl/Module-Build-0.400.0
 	test? ( virtual/perl-Test-Simple )
 "
+src_test() {
+	local my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
+	if has network ${my_test_control}; then
+		perl-module_src_test
+	else
+		einfo "Tests skipped without DIST_TEST_OVERRIDE =~ network: Fails under network sandboxing"
+	fi
+}


             reply	other threads:[~2016-05-21  0:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-21  0:36 Andreas Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-13 10:40 [gentoo-commits] repo/gentoo:master commit in: dev-perl/AnyEvent-CacheDNS/ Jakov Smolić
2021-04-10 21:47 Andreas K. Hüttel
2020-04-26 16:52 Kent Fredric
2017-10-14 22:39 Kent Fredric
2015-12-26 11:14 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1463789468.cfccd023a6210c915399ffae3d74c8d4d2384b5e.dilfridge@gentoo \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox