From dad104037f4158506d29d7610478a198dd1fed8f Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Mon, 18 Jun 2007 12:36:34 +0000 Subject: Don't perform tests with USE=-test so fbsd can use.mask it. (Portage version: 2.1.3_rc4) --- dev-java/xmlunit/ChangeLog | 5 ++++- dev-java/xmlunit/xmlunit-1.0-r2.ebuild | 8 ++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'dev-java/xmlunit') 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 xmlunit-1.0-r2.ebuild: + Don't perform tests with USE=-test so fbsd can use.mask it. 18 Jun 2007; Vlastimil Babka 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() { -- cgit v1.2.3-65-gdbad