summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-games/libgrapple/ChangeLog7
-rw-r--r--dev-games/libgrapple/libgrapple-0.9.7.ebuild9
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-games/libgrapple/ChangeLog b/dev-games/libgrapple/ChangeLog
index 10bed2dadbe4..2c75b60cc60d 100644
--- a/dev-games/libgrapple/ChangeLog
+++ b/dev-games/libgrapple/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/libgrapple
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/libgrapple/ChangeLog,v 1.4 2008/12/21 01:37:25 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/libgrapple/ChangeLog,v 1.5 2009/05/07 21:01:58 nyhm Exp $
+
+ 07 May 2009; Tristan Heaven <nyhm@gentoo.org> libgrapple-0.9.7.ebuild:
+ Add src_test
*libgrapple-0.9.7 (21 Dec 2008)
diff --git a/dev-games/libgrapple/libgrapple-0.9.7.ebuild b/dev-games/libgrapple/libgrapple-0.9.7.ebuild
index bd9f1e89587e..fb19e47a2fb3 100644
--- a/dev-games/libgrapple/libgrapple-0.9.7.ebuild
+++ b/dev-games/libgrapple/libgrapple-0.9.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/libgrapple/libgrapple-0.9.7.ebuild,v 1.1 2008/12/21 01:37:25 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/libgrapple/libgrapple-0.9.7.ebuild,v 1.2 2009/05/07 21:01:58 nyhm Exp $
DESCRIPTION="A high level network layer for multiuser applications"
HOMEPAGE="http://grapple.linuxgamepublishing.com/"
@@ -13,6 +13,11 @@ IUSE=""
DEPEND="dev-libs/openssl"
+src_test() {
+ test/unittest | tee "${T}"/test.log
+ tail -n 1 "${T}"/test.log | grep -q " 0 fail" || die "test failed"
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc CREDITS README* UPDATES