summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-11-25 12:04:07 +0100
committerSam James <sam@gentoo.org>2021-12-01 19:00:31 +0000
commitccc1dd0c0cb6ddb51fe30e366e1a9de4a5679c99 (patch)
treea829cad4c893666c9c130a53a09fde75e8660258 /dev-java/icu4j
parentdev-java/jnr-ffi: restrict tests (diff)
downloadgentoo-ccc1dd0c0cb6ddb51fe30e366e1a9de4a5679c99.tar.gz
gentoo-ccc1dd0c0cb6ddb51fe30e366e1a9de4a5679c99.tar.bz2
gentoo-ccc1dd0c0cb6ddb51fe30e366e1a9de4a5679c99.zip
dev-java/icu4j: restrict tests for jdk-1.8
Bug: https://bugs.gentoo.org/827212 There were test failures which seem to be specific for jdk-1.8 and seem not to happen on jdk-11 or jdk-17 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/23075 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/icu4j')
-rw-r--r--dev-java/icu4j/icu4j-70.1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
index 271ad96ce370..410aa0e75594 100644
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -176,6 +176,14 @@ src_compile() {
fi
}
+src_test () {
+ # https://bugs.gentoo.org/827212
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" != "1.8" ]] ; then
+ java-pkg-simple_src_test
+ fi
+}
+
src_install() {
default
java-pkg_dojar "icu4j.jar"