Miguel Landaeta pushed to branch master at Debian Java Maintainers / jnr-ffi
Commits: 68b9e6c3 by Miguel Landaeta at 2025-05-01T19:28:22+00:00 Run unit tests only on amd64 - - - - - 2 changed files: - debian/changelog - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,12 @@ +jnr-ffi (2.2.15-3) unstable; urgency=medium + + * Run unit tests only on amd64. Other common architectures + like arm64 are missing dependencies, i386 and others are not tested + by upstream, so there is little point to exercise those unsupported + and/or unreliable targets. (Closes: #1103089) + + -- Miguel Landaeta <[email protected]> Thu, 01 May 2025 11:46:45 +0000 + jnr-ffi (2.2.15-2) unstable; urgency=medium * Drop d/p/0001-disable-setpointer-test-cases.patch. ===================================== debian/rules ===================================== @@ -1,4 +1,6 @@ #!/usr/bin/make -f +include /usr/share/dpkg/pkg-info.mk +include /usr/share/dpkg/architecture.mk export JAVA_HOME=/usr/lib/jvm/default-java export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 @@ -15,3 +17,10 @@ override_jh_manifest: # generate OSGi metadata bnd wrap --properties debian/jnr-ffi.bnd --output $(JAR).tmp $(JAR) mv $(JAR).tmp $(JAR) + +override_dh_auto_test: +# Workaround for https://bugs.debian.org/1103089 (FTBFS) +# Not all unit-tests succeed on i386. +ifeq (amd64,$(DEB_TARGET_ARCH)) + dh_auto_test +endif View it on GitLab: https://salsa.debian.org/java-team/jnr-ffi/-/commit/68b9e6c360b4f27f199af8c564d6ff74d09fa0f2 -- View it on GitLab: https://salsa.debian.org/java-team/jnr-ffi/-/commit/68b9e6c360b4f27f199af8c564d6ff74d09fa0f2 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

