summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-08-30 18:23:57 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-08-31 09:52:24 +0200
commit04031a6cef44eb83b85ff5bf7bac1e537eef861d (patch)
tree2246098a462deb9d4cc6d6f78548e77f41a42a8a /dev-java
parentdev-java/opentest4j: add 1.3.0 (diff)
downloadgentoo-04031a6cef44eb83b85ff5bf7bac1e537eef861d.tar.gz
gentoo-04031a6cef44eb83b85ff5bf7bac1e537eef861d.tar.bz2
gentoo-04031a6cef44eb83b85ff5bf7bac1e537eef861d.zip
dev-java/junit: test dependencies use java-pkg_getjars with '--build-only'
Closes: https://bugs.gentoo.org/938743 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/37748 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/junit/junit-4.13.2_p20240222.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-java/junit/junit-4.13.2_p20240222.ebuild b/dev-java/junit/junit-4.13.2_p20240222.ebuild
index 6a2ce43fc405..50aa3c3c6763 100644
--- a/dev-java/junit/junit-4.13.2_p20240222.ebuild
+++ b/dev-java/junit/junit-4.13.2_p20240222.ebuild
@@ -44,7 +44,8 @@ src_prepare() {
src_test() {
cd "${JAVA_TEST_SRC_DIR}" || die
- local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars ${JAVA_TEST_GENTOO_CLASSPATH})"
+ local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars \
+ --build-only ${JAVA_TEST_GENTOO_CLASSPATH})"
ejavac -cp "${CP}" -d . $(find * -name "*.java")
# pom.xml lines 264-268