diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-05-12 11:24:27 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-09-29 07:53:37 +0200 |
commit | af4466d0574e930174c273508430655e95eabe3f (patch) | |
tree | 63fcac4fac0fe767ae1711842bb1d8f15631d8d7 /dev-java/jna | |
parent | dev-java/jna: Ignore testStatvfs from com.sun.jna.platform.linux.LibCTest (diff) | |
download | gentoo-af4466d0574e930174c273508430655e95eabe3f.tar.gz gentoo-af4466d0574e930174c273508430655e95eabe3f.tar.bz2 gentoo-af4466d0574e930174c273508430655e95eabe3f.zip |
dev-java/jna: add testdata, solves NPE on ELFAnalyserTest
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jna')
-rw-r--r-- | dev-java/jna/jna-5.13.0-r1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-java/jna/jna-5.13.0-r1.ebuild b/dev-java/jna/jna-5.13.0-r1.ebuild index 9f97a53844f7..ee0cd09734ed 100644 --- a/dev-java/jna/jna-5.13.0-r1.ebuild +++ b/dev-java/jna/jna-5.13.0-r1.ebuild @@ -150,13 +150,13 @@ src_test() { # java.lang.UnsatisfiedLinkError: Unable to load library '/libtestlib-jar.so': # /libtestlib-jar.so: cannot open shared object file: No such file or directory jar cvf build/jna-test.jar \ - -C build/native libtestlib-jar.so || die + -C build/native libtestlib-jar.so \ + -C test com/sun/jna/data || die JAVA_GENTOO_CLASSPATH_EXTRA+=":build/jna-test.jar" JAVA_TEST_EXCLUDES=( com.sun.jna.CallbacksTest # Needs to run separately com.sun.jna.DirectTest # Needs to run separately - com.sun.jna.ELFAnalyserTest # NPE com.sun.jna.NativeTest # Needs to run separately com.sun.jna.UnionTest # Needs to run separately com.sun.jna.VMCrashProtectionTest # Needs to run separately |