diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-08-27 17:56:04 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-02 20:23:13 +0300 |
commit | edc771213fe3b15c5b85857bb9877e79cd52671a (patch) | |
tree | 44b90d33ce350da7cdb67a0b25d5ebdb92e4aa81 /dev-java/jffi | |
parent | profiles/arch: mask capstone USE flag in dev-lisp/sbcl on spark (diff) | |
download | gentoo-edc771213fe3b15c5b85857bb9877e79cd52671a.tar.gz gentoo-edc771213fe3b15c5b85857bb9877e79cd52671a.tar.bz2 gentoo-edc771213fe3b15c5b85857bb9877e79cd52671a.zip |
dev-java/jffi: exclude failing tests on arm
Closes: https://bugs.gentoo.org/829820
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-java/jffi')
-rw-r--r-- | dev-java/jffi/jffi-1.3.9-r1.ebuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild index e5267de9cd58..04acfb709255 100644 --- a/dev-java/jffi/jffi-1.3.9-r1.ebuild +++ b/dev-java/jffi/jffi-1.3.9-r1.ebuild @@ -51,6 +51,29 @@ src_prepare() { public static final int MICRO = $(ver_cut 3); } EOF + + # https://bugs.gentoo.org/829820 + if use arm; then + sed \ + -e '/import org.junit.Test/a import org.junit.Ignore;' \ + -e '/invokeHeapDO()/i @Ignore' \ + -e '/invokeHeapNO()/i @Ignore' \ + -e '/invokeHeapOD()/i @Ignore' \ + -e '/invokeHeapON()/i @Ignore' \ + -e '/invokeHeapOO()/i @Ignore' \ + -e '/invokeHeapO()/i @Ignore' \ + -e '/invokeNativeDO()/i @Ignore' \ + -e '/invokeNativeNO()/i @Ignore' \ + -e '/invokeNativeOD()/i @Ignore' \ + -e '/invokeNativeON()/i @Ignore' \ + -e '/invokeNativeOO()/i @Ignore' \ + -e '/invokeNativeO()/i @Ignore' \ + -i src/test/java/com/kenai/jffi/InvokerTest.java || die + sed \ + -e '/import org.junit.Test/a import org.junit.Ignore;' \ + -e '/returnDefaultF128HighPrecision/i @Ignore' \ + -i src/test/java/com/kenai/jffi/NumberTest.java || die + fi } src_compile() { |