summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-11-06 17:52:01 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-11-07 08:20:01 +0100
commit877e2a3295ad15eaba5aa99cc2fef792b2f0af33 (patch)
tree82f0004da7de5f1f8149766a21e3db0866532869
parentnet-libs/miniupnpc: stable 2.2.3 for hppa, bug #820992 (diff)
downloadgentoo-877e2a3295ad15eaba5aa99cc2fef792b2f0af33.tar.gz
gentoo-877e2a3295ad15eaba5aa99cc2fef792b2f0af33.tar.bz2
gentoo-877e2a3295ad15eaba5aa99cc2fef792b2f0af33.zip
dev-java/jaxb-api: suppress tests for vm_version 1.8
Closes: https://bugs.gentoo.org/796995 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/22847 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--dev-java/jaxb-api/jaxb-api-2.3.3.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-java/jaxb-api/jaxb-api-2.3.3.ebuild b/dev-java/jaxb-api/jaxb-api-2.3.3.ebuild
index 90e543acd3b8..c35cac816f04 100644
--- a/dev-java/jaxb-api/jaxb-api-2.3.3.ebuild
+++ b/dev-java/jaxb-api/jaxb-api-2.3.3.ebuild
@@ -44,6 +44,15 @@ JAVA_TEST_GENTOO_CLASSPATH="junit-4"
JAVA_TEST_SRC_DIR="../${PN}-test/src/test/java"
JAVA_TEST_RESOURCE_DIRS="../${PN}-test/src/test/resources"
+src_test() {
+ # Suppress tests for vm_version 1.8 (too many test failures)
+ # see https://bugs.gentoo.org/796995
+ 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-simple_src_install