summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-06-18 12:36:34 +0000
committerVlastimil Babka <caster@gentoo.org>2007-06-18 12:36:34 +0000
commitdad104037f4158506d29d7610478a198dd1fed8f (patch)
treeeb2eb23d42701ba20822bc0cc95fdcea439cb797 /dev-java/xmlunit
parentEnsure python is compiled with readline support bug 182220 and prune old vers... (diff)
downloadgentoo-2-dad104037f4158506d29d7610478a198dd1fed8f.tar.gz
gentoo-2-dad104037f4158506d29d7610478a198dd1fed8f.tar.bz2
gentoo-2-dad104037f4158506d29d7610478a198dd1fed8f.zip
Don't perform tests with USE=-test so fbsd can use.mask it.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'dev-java/xmlunit')
-rw-r--r--dev-java/xmlunit/ChangeLog5
-rw-r--r--dev-java/xmlunit/xmlunit-1.0-r2.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-java/xmlunit/ChangeLog b/dev-java/xmlunit/ChangeLog
index 99b69f2b0f1f..13f3483ca542 100644
--- a/dev-java/xmlunit/ChangeLog
+++ b/dev-java/xmlunit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/xmlunit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.11 2007/06/18 12:18:59 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.12 2007/06/18 12:36:34 caster Exp $
+
+ 18 Jun 2007; Vlastimil Babka <caster@gentoo.org> xmlunit-1.0-r2.ebuild:
+ Don't perform tests with USE=-test so fbsd can use.mask it.
18 Jun 2007; Vlastimil Babka <caster@gentoo.org> xmlunit-1.0-r2.ebuild:
Pull and build with 1.4 JDK only when USE=test as only tests fail with 1.5,
diff --git a/dev-java/xmlunit/xmlunit-1.0-r2.ebuild b/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
index 1bf0c9255984..26bdb8743dfb 100644
--- a/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
+++ b/dev-java/xmlunit/xmlunit-1.0-r2.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/xmlunit/xmlunit-1.0-r2.ebuild,v 1.3 2007/06/18 12:18:59 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0-r2.ebuild,v 1.4 2007/06/18 12:36:34 caster Exp $
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
@@ -44,7 +44,11 @@ EANT_DOC_TARGET="docs"
EANT_GENTOO_CLASSPATH="junit"
src_test() {
- ANT_TASKS="ant-junit ant-trax" eant test
+ if use test; then
+ ANT_TASKS="ant-junit ant-trax" eant test
+ else
+ echo "USE=test not enabled, skipping tests."
+ fi
}
src_install() {