summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells')
-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."