summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-08-24 08:39:26 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-08-24 19:22:09 +0200
commit4a1ae2f864044003ca7e3d11b46681d5bb179534 (patch)
treedcf7207fe5dfae4e2ff76225390c74e6a091d98e /dev-java/jnr-posix
parentsys-cluster/ceph: Add udev and python fix to 16.2.9-r2 (diff)
downloadgentoo-4a1ae2f864044003ca7e3d11b46681d5bb179534.tar.gz
gentoo-4a1ae2f864044003ca7e3d11b46681d5bb179534.tar.bz2
gentoo-4a1ae2f864044003ca7e3d11b46681d5bb179534.zip
dev-java/jnr-posix: ignore one test on ppc64
Ignore testMessageHdrMultipleControl https://github.com/jnr/jnr-posix/issues/178 Closes: https://bugs.gentoo.org/866199 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/26995 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jnr-posix')
-rw-r--r--dev-java/jnr-posix/jnr-posix-3.1.15.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild b/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild
index 3f90b95f3507..4ca0c477f1f2 100644
--- a/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild
+++ b/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild
@@ -39,6 +39,16 @@ JAVA_TEST_GENTOO_CLASSPATH="junit-4"
JAVA_TEST_SRC_DIR="src/test/java"
src_test() {
+ if use ppc64; then
+ # Ignore testMessageHdrMultipleControl
+ # https://bugs.gentoo.org/866199
+ # https://github.com/jnr/jnr-posix/issues/178
+ sed \
+ -e '/testMessageHdrMultipleControl/i @Ignore' \
+ -e '/import org.junit.Test/a import org.junit.Ignore;' \
+ -i src/test/java/jnr/posix/LinuxPOSIXTest.java || die
+ fi
+
JAVA_TEST_EXCLUDES=(
# https://github.com/jnr/jnr-posix/blob/jnr-posix-3.1.15/pom.xml#L185
# <exclude>**/windows/*Test.java</exclude>