summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-06-18 13:55:49 +0000
committerVlastimil Babka <caster@gentoo.org>2007-06-18 13:55:49 +0000
commitdeb986d01f9a2f87abde506292eb8f38f4bc7d6f (patch)
treefe1d78d01b611460ce4076c0d424d03159a48fae /dev-java/jscience/jscience-1.0.4-r1.ebuild
parent--with-docdir -> --docdir (diff)
downloadhistorical-deb986d01f9a2f87abde506292eb8f38f4bc7d6f.tar.gz
historical-deb986d01f9a2f87abde506292eb8f38f4bc7d6f.tar.bz2
historical-deb986d01f9a2f87abde506292eb8f38f4bc7d6f.zip
Add src_test
Package-Manager: portage-2.1.3_rc4
Diffstat (limited to 'dev-java/jscience/jscience-1.0.4-r1.ebuild')
-rw-r--r--dev-java/jscience/jscience-1.0.4-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-java/jscience/jscience-1.0.4-r1.ebuild b/dev-java/jscience/jscience-1.0.4-r1.ebuild
index f676b862a573..868dc484f58c 100644
--- a/dev-java/jscience/jscience-1.0.4-r1.ebuild
+++ b/dev-java/jscience/jscience-1.0.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jscience/jscience-1.0.4-r1.ebuild,v 1.3 2007/06/01 06:30:13 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jscience/jscience-1.0.4-r1.ebuild,v 1.4 2007/06/18 13:55:49 caster Exp $
JAVA_PKG_IUSE="doc source"
@@ -33,6 +33,11 @@ src_unpack() {
EANT_BUILD_TARGET="jarfile"
+src_test() {
+ # this works here as javolution is in lib/ and referenced in jar's manifest
+ java -jar jscience.jar test || die "test failed"
+}
+
src_install() {
java-pkg_dojar jscience.jar