summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Volynets <iluxa@gentoo.org>2009-02-04 19:20:37 +0000
committerIlya Volynets <iluxa@gentoo.org>2009-02-04 19:20:37 +0000
commitdaa732fc18a19d395a87890d4ac3bc1ba5f7c79d (patch)
tree6335298eb4ab4043ca9afd58219c244c4a5cf39f
parentcall eqmake3 from src_configure (diff)
downloadgentoo-2-daa732fc18a19d395a87890d4ac3bc1ba5f7c79d.tar.gz
gentoo-2-daa732fc18a19d395a87890d4ac3bc1ba5f7c79d.tar.bz2
gentoo-2-daa732fc18a19d395a87890d4ac3bc1ba5f7c79d.zip
Add src_test with call to the automated test suit to cppserv ebuild
(Portage version: 2.1.6.4/cvs/Linux 2.6.28 x86_64)
-rw-r--r--dev-cpp/cppserv/ChangeLog6
-rw-r--r--dev-cpp/cppserv/cppserv-0.2.3.ebuild8
2 files changed, 10 insertions, 4 deletions
diff --git a/dev-cpp/cppserv/ChangeLog b/dev-cpp/cppserv/ChangeLog
index 3d0e39999d89..d85a5727d7d3 100644
--- a/dev-cpp/cppserv/ChangeLog
+++ b/dev-cpp/cppserv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/cppserv
# Copyright 2006-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.33 2009/02/04 19:13:45 iluxa Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.34 2009/02/04 19:20:37 iluxa Exp $
+
+ 04 Feb 2009; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org>
+ cppserv-0.2.3.ebuild:
+ Add src_test with call to the automated test suit to cppserv ebuild
*cppserv-0.2.3 (04 Feb 2009)
diff --git a/dev-cpp/cppserv/cppserv-0.2.3.ebuild b/dev-cpp/cppserv/cppserv-0.2.3.ebuild
index 59ec1368f5d4..06f6ddfa6776 100644
--- a/dev-cpp/cppserv/cppserv-0.2.3.ebuild
+++ b/dev-cpp/cppserv/cppserv-0.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 2008-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/cppserv-0.2.3.ebuild,v 1.1 2009/02/04 19:13:45 iluxa Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/cppserv-0.2.3.ebuild,v 1.2 2009/02/04 19:20:37 iluxa Exp $
inherit eutils apache-module multilib
@@ -35,9 +35,11 @@ src_compile() {
}
src_install() {
- local CPPSERV_DBG_FLAG
- use debug && CPPSERV_DBG_FLAG="CPPFLAGS=-DMODCSERV_DEBUG"
emake $(cppserv_build_flags) DESTDIR="${D}" ${CPPSERV_DBG_FLAG} install || die "emake install failed. Bug iluxa on #cppserv on irc.freenode.net immediately"
insinto "${APACHE_MODULES_CONFDIR}"
doins "${FILESDIR}/${APACHE2_MOD_CONF}.conf" || die "internal ebuild error: \"${FILESDIR}/${APACHE2_MOD_CONF}.conf\" not found. Bug iluxa on #cppserv on irc.freenode.net immediately"
}
+
+src_test() {
+ emake $(cppserv_build_flags) check
+}