Bug#1040181: openjdk-8: Please disable tests on zero architectures

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.java
Message-ID <168833477174.31258.18342851063603663589.reportbug__42570.2822207072$1688335055$gmane$org@localhost>
Source: openjdk-8
Version: 8u382~b04-1
Severity: important
Tags: patch
X-Debbugs-Cc: Thorsten Glaser <[email protected]>

Zero is slow, OpenJDK has many tests, and on slower ports
architectures the build can literally take a month:
https://buildd.debian.org/status/logs.php?pkg=openjdk-8&arch=alpha

Please fix this with something like:

--- debian/rules.old	2023-07-02 21:46:21.815210161 +0000
+++ debian/rules	2023-07-02 21:48:21.783102835 +0000
@@ -137,7 +137,7 @@
 endif
 
 with_check = $(if $(findstring nocheck, $(DEB_BUILD_OPTIONS)),,yes)
-ifneq (,$(filter $(DEB_HOST_ARCH), armel))
+ifeq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs)))
   with_check = disabled running check on $(DEB_HOST_ARCH)
 endif
 ifneq (,$(filter $(distrel),precise))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.