mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-java/ant: exclude LinkTest for openjdk without man pages
It was causing 40 test failures with openjdk-bin:25. Bug: https://bugs.gentoo.org/986148 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/2424 Merges: https://codeberg.org/gentoo/gentoo/pulls/2424 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -332,6 +332,13 @@ src_test() {
|
||||
org.apache.tools.ant.taskdefs.GetTest # needs network access
|
||||
)
|
||||
|
||||
# testBindingOfServices(org.apache.tools.ant.taskdefs.modules.LinkTest)
|
||||
# Caused by: java.nio.file.NoSuchFileException: /opt/openjdk-bin-25.0.4.1_p1/man/man1/java.1
|
||||
local vm_version="$(java-config -g PROVIDES_VERSION)"
|
||||
if ver_test "${vm_version}" -ge 25; then
|
||||
JAVA_TEST_EXCLUDES+=( org.apache.tools.ant.taskdefs.modules.LinkTest )
|
||||
fi
|
||||
|
||||
# tests with patches to be revisited
|
||||
# JAVA_TEST_RUN_ONLY=(
|
||||
# org.apache.tools.ant.taskdefs.AntlibTest # Tests run: 6, Failures: 1 test2-antlib.jar?
|
||||
|
||||
Reference in New Issue
Block a user