summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-02-11 12:40:06 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-02-11 12:40:06 +0000
commit452f8e4ab8a5307a6d1ad8305412418631cb8cbf (patch)
treedfe64c78fdcd64ba2d0489e0b6f31f1c9b41fbeb /app-shells/fish
parentAdded elog message for making manpage-completion functional (bug #490478). Re... (diff)
downloadgentoo-2-452f8e4ab8a5307a6d1ad8305412418631cb8cbf.tar.gz
gentoo-2-452f8e4ab8a5307a6d1ad8305412418631cb8cbf.tar.bz2
gentoo-2-452f8e4ab8a5307a6d1ad8305412418631cb8cbf.zip
Tests only work when the package is already installed (bug #319571)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'app-shells/fish')
-rw-r--r--app-shells/fish/ChangeLog5
-rw-r--r--app-shells/fish/fish-2.1.0-r2.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/app-shells/fish/ChangeLog b/app-shells/fish/ChangeLog
index 6361507a889e..a54cf793e1b7 100644
--- a/app-shells/fish/ChangeLog
+++ b/app-shells/fish/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-shells/fish
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v 1.63 2014/02/11 12:28:14 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v 1.64 2014/02/11 12:40:06 polynomial-c Exp $
+
+ 11 Feb 2014; Lars Wendler <polynomial-c@gentoo.org> fish-2.1.0-r2.ebuild:
+ Tests only work when the package is already installed (bug #319571).
*fish-2.1.0-r2 (11 Feb 2014)
diff --git a/app-shells/fish/fish-2.1.0-r2.ebuild b/app-shells/fish/fish-2.1.0-r2.ebuild
index 085f757a6f25..654644d265a1 100644
--- a/app-shells/fish/fish-2.1.0-r2.ebuild
+++ b/app-shells/fish/fish-2.1.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/fish-2.1.0-r2.ebuild,v 1.1 2014/02/11 12:28:14 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/fish-2.1.0-r2.ebuild,v 1.2 2014/02/11 12:40:06 polynomial-c Exp $
EAPI=5
@@ -42,6 +42,14 @@ src_configure() {
--bindir="${EPREFIX}"/bin
}
+src_test() {
+ if has_version ~${CATEGORY}/${P} ; then
+ emake test
+ else
+ ewarn "The test suite only works when the package is already installed"
+ fi
+}
+
pkg_postinst() {
elog "fish is now installed on your system."
elog "To run fish, type 'fish' in your terminal."