summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2009-09-19 19:04:20 +0000
committerOlivier Crête <tester@gentoo.org>2009-09-19 19:04:20 +0000
commit2639dff5beaed090acde2a12128a69f551d68cae (patch)
tree15087706132755d428c0472206d6bd4b15082192 /net-libs
parentstart a new package.mask entry for old X packages (diff)
downloadgentoo-2-2639dff5beaed090acde2a12128a69f551d68cae.tar.gz
gentoo-2-2639dff5beaed090acde2a12128a69f551d68cae.tar.bz2
gentoo-2-2639dff5beaed090acde2a12128a69f551d68cae.zip
Disabled tests when the msn flag is not there
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/farsight2/ChangeLog5
-rw-r--r--net-libs/farsight2/farsight2-0.0.15.ebuild11
2 files changed, 14 insertions, 2 deletions
diff --git a/net-libs/farsight2/ChangeLog b/net-libs/farsight2/ChangeLog
index e56cb01fbd2a..332e55f86ebf 100644
--- a/net-libs/farsight2/ChangeLog
+++ b/net-libs/farsight2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/farsight2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/farsight2/ChangeLog,v 1.12 2009/09/11 22:00:25 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/farsight2/ChangeLog,v 1.13 2009/09/19 19:04:20 tester Exp $
+
+ 19 Sep 2009; Olivier Crête <tester@gentoo.org> farsight2-0.0.15.ebuild:
+ Disabled tests when the msn flag is not there
11 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> farsight2-0.0.15.ebuild:
Keywording for ppc. Bug 282263
diff --git a/net-libs/farsight2/farsight2-0.0.15.ebuild b/net-libs/farsight2/farsight2-0.0.15.ebuild
index fe4104737c9a..047594574373 100644
--- a/net-libs/farsight2/farsight2-0.0.15.ebuild
+++ b/net-libs/farsight2/farsight2-0.0.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/farsight2/farsight2-0.0.15.ebuild,v 1.3 2009/09/11 22:00:25 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/farsight2/farsight2-0.0.15.ebuild,v 1.4 2009/09/19 19:04:20 tester Exp $
EAPI="2"
@@ -44,3 +44,12 @@ src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
dodoc AUTHORS README ChangeLog
}
+
+src_test()
+{
+ use msn || { einfo "Tests disabled without msn use flag"; return ;}
+ if ! emake -j1 check; then
+ hasq test $FEATURES && die "Make check failed. See above for details."
+ hasq test $FEATURES || eerror "Make check failed. See above for details."
+ fi
+}