Skip to content

Commit

Permalink
dev-java/jnr-posix: ignore one test on ppc64
Browse files Browse the repository at this point in the history
Ignore testMessageHdrMultipleControl
jnr/jnr-posix#178
Closes: https://bugs.gentoo.org/866199
Signed-off-by: Volkmar W. Pogatzki <[email protected]>
  • Loading branch information
vaukai committed Aug 24, 2022
1 parent efb0f6f commit 46b8302
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev-java/jnr-posix/jnr-posix-3.1.15.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 46b8302

Please sign in to comment.