summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2009-04-19 17:10:46 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2009-04-19 17:10:46 +0000
commit185351fb30da824d8742d35431a0d979a238d5c7 (patch)
treef9830dfcac26cecf4067b50ba08f231b40be7b1c /dev-java/commons-cli
parentwhitespace (diff)
downloadgentoo-2-185351fb30da824d8742d35431a0d979a238d5c7.tar.gz
gentoo-2-185351fb30da824d8742d35431a0d979a238d5c7.tar.bz2
gentoo-2-185351fb30da824d8742d35431a0d979a238d5c7.zip
Make tests pass for commons-cli-1.2.
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'dev-java/commons-cli')
-rw-r--r--dev-java/commons-cli/ChangeLog6
-rw-r--r--dev-java/commons-cli/commons-cli-1.2.ebuild7
-rw-r--r--dev-java/commons-cli/files/build-1.2.xml1
3 files changed, 10 insertions, 4 deletions
diff --git a/dev-java/commons-cli/ChangeLog b/dev-java/commons-cli/ChangeLog
index 4e7ada03f5e7..df523519d77c 100644
--- a/dev-java/commons-cli/ChangeLog
+++ b/dev-java/commons-cli/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/commons-cli
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/ChangeLog,v 1.40 2009/03/27 19:54:47 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/ChangeLog,v 1.41 2009/04/19 17:10:46 elvanor Exp $
+
+ 19 Apr 2009; Jean-Noël Rivasseau <elvanor@gentoo.org>
+ files/build-1.2.xml, commons-cli-1.2.ebuild:
+ Make tests pass.
*commons-cli-1.2 (27 Mar 2009)
diff --git a/dev-java/commons-cli/commons-cli-1.2.ebuild b/dev-java/commons-cli/commons-cli-1.2.ebuild
index ed965440b5bf..2206340af825 100644
--- a/dev-java/commons-cli/commons-cli-1.2.ebuild
+++ b/dev-java/commons-cli/commons-cli-1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/commons-cli-1.2.ebuild,v 1.2 2009/03/27 20:14:30 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/commons-cli-1.2.ebuild,v 1.3 2009/04/19 17:10:46 elvanor Exp $
# Upstream switched to Maven as a build system. Current build.xml file was generated by running mvn ant:ant
# A bit of tweaking was required unfortunately
@@ -20,8 +20,7 @@ SLOT="1"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE=""
-# Tests currently fail, upstream bug: https://issues.apache.org/jira/browse/CLI-178
-RESTRICT="test"
+RESTRICT=""
RDEPEND=">=virtual/jre-1.4"
# Blocking junit for https://bugs.gentoo.org/show_bug.cgi?id=215659
@@ -46,6 +45,8 @@ src_install() {
use source && java-pkg_dosrc src/java/org
}
+# org.apache.commons.cli.ParserTestCase should not be ran, so we removed this class in build.xml
+
src_test() {
ANT_TASKS="ant-junit"
eant -Djunit.present="true" test
diff --git a/dev-java/commons-cli/files/build-1.2.xml b/dev-java/commons-cli/files/build-1.2.xml
index 1138d81f0ebc..a6752eee3daa 100644
--- a/dev-java/commons-cli/files/build-1.2.xml
+++ b/dev-java/commons-cli/files/build-1.2.xml
@@ -139,6 +139,7 @@
<include name="**/*Test.java"/>
<include name="**/*TestCase.java"/>
<exclude name="**/*Abstract*Test.java"/>
+ <exclude name="**/ParserTestCase.java"/>
</fileset>
</batchtest>
<batchtest todir="${maven.test.reports}" if="test">