Created attachment 797266 [details] build log src_test() { JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4" # einfo "Setting -Djava.library.path" # This would work only after manually adding libjnidispatch.so to /usr/share/jna-4/lib/jna.jar, # done with ( jar -uf /usr/share/jna-4/lib/jna.jar -C . com/sun/jna/linux-x86-64/libjnidispatch ) # JAVA_TEST_EXTRA_ARGS=( -Djava.library.path+="$(java-config -i jna-4)" com.sun.jna.Native ) # Otherwise fails with: # Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path einfo "Testing byte-buddy-agent" JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java" # Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path JAVA_TEST_EXCLUDES=( net.bytebuddy.agent.VirtualMachineAttachmentTest ) java-pkg-simple_src_test einfo "Testing byte-buddy-dep" JAVA_TEST_SRC_DIR="byte-buddy-dep/src/test/java" JAVA_TEST_RESOURCE_DIRS=( byte-buddy-dep/src/test/resources byte-buddy-dep/src/test/precompiled* ) # what "mvn test" does with java 17 is: # Tests run: 9855, Failures: 0, Errors: 0, Skipped: 0 JAVA_TEST_EXCLUDES+=( net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest # 39 tests # v1.12.13 net.bytebuddy.build.CachedReturnPluginTest # 44 tests net.bytebuddy.build.CachedReturnPluginOtherTest # 4 tests ) java-pkg-simple_src_test }
Updating summary.