summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-12-30 12:14:33 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-12-30 12:14:33 +0000
commit7c66e489dd36d5846fe62da7a2632ae805389650 (patch)
treeb39ec099e76614f1323392b7f7c0cf7bc5ed45ec /dev-java/junit
parentold (diff)
downloadgentoo-2-7c66e489dd36d5846fe62da7a2632ae805389650.tar.gz
gentoo-2-7c66e489dd36d5846fe62da7a2632ae805389650.tar.bz2
gentoo-2-7c66e489dd36d5846fe62da7a2632ae805389650.zip
dev-java/junit: fixed bug #396367
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/junit')
-rw-r--r--dev-java/junit/ChangeLog6
-rw-r--r--dev-java/junit/junit-4.10.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-java/junit/ChangeLog b/dev-java/junit/ChangeLog
index 0e44a8185461..618566c4b251 100644
--- a/dev-java/junit/ChangeLog
+++ b/dev-java/junit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/junit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.63 2011/12/25 21:42:29 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.64 2011/12/30 12:14:33 fordfrog Exp $
+
+ 30 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org> junit-4.10.ebuild:
+ Fixed failing tests (bug #396367, thanks to Xake >xake@rymdraket.net> for the
+ fix)
*junit-4.10 (25 Dec 2011)
diff --git a/dev-java/junit/junit-4.10.ebuild b/dev-java/junit/junit-4.10.ebuild
index 113a95c78bc0..8746d785e4df 100644
--- a/dev-java/junit/junit-4.10.ebuild
+++ b/dev-java/junit/junit-4.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-4.10.ebuild,v 1.1 2011/12/25 21:42:29 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-4.10.ebuild,v 1.2 2011/12/30 12:14:33 fordfrog Exp $
# WARNING: JUNIT.JAR IS _NOT_ SYMLINKED TO ANT-CORE LIB FOLDER AS JUNIT3 IS
@@ -67,7 +67,7 @@ src_test() {
mkdir classes || die "Unable to create build directory for tests"
local cp=$(java-pkg_getjars hamcrest-core):${S}/${PN}${PV}/${PN}-dep-${PV}.jar
- ejavac -classpath ${cp} -d classes $(find junit/tests -name "*.java")
+ ejavac -classpath ${cp} -d classes $(find junit/tests org/junit/tests -name "*.java")
java -classpath ${cp}:classes org.junit.runner.JUnitCore junit.tests.AllTests \
|| die "Tests failed."