Bug#1092499: mercurial: Please skip some tests on sparc64

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.sparc
Message-ID <173635898804.1150151.15800268701039294931.reportbug__30396.3314321422$1736359054$gmane$org@z6>
Source: mercurial
Version: 6.9-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: sparc64
X-Debbugs-Cc: [email protected]

Hello,

some tests are reproducibly failing on sparc64 and should therefore be disabled
which is what the following patch does:

diff -Nru mercurial-orig/mercurial-6.9/debian/mercurial.test_blacklist_sparc64 mercurial-sparc64/mercurial-6.9/debian/mercurial.test_blacklist_sparc64
--- mercurial-orig/mercurial-6.9/debian/mercurial.test_blacklist_sparc64        1970-01-01 01:00:00.000000000 +0100
+++ mercurial-sparc64/mercurial-6.9/debian/mercurial.test_blacklist_sparc64     2024-12-23 16:50:27.079212664 +0100
@@ -0,0 +1,4 @@
+# fails on sparc64 buildds
+test-bookmarks-corner-case.t
+test-copies-chain-merge.t
+test-sparse-revlog.t
diff -Nru mercurial-orig/mercurial-6.9/debian/rules mercurial-sparc64/mercurial-6.9/debian/rules
--- mercurial-orig/mercurial-6.9/debian/rules   2024-10-29 16:42:39.000000000 +0100
+++ mercurial-sparc64/mercurial-6.9/debian/rules        2025-01-08 18:38:36.423438093 +0100
@@ -35,11 +35,17 @@
     --timeout 1800 \
     $(PARALLEL_TEST_JOBS) \
     --blacklist $(CURDIR)/debian/mercurial.test_blacklist
+
 ifeq ($(DEB_HOST_ARCH), riscv64)
 test_flags += \
     --blacklist $(CURDIR)/debian/mercurial.test_blacklist_riscv64
 endif
 
+ifeq ($(DEB_HOST_ARCH), sparc64)
+test_flags += \
+    --blacklist $(CURDIR)/debian/mercurial.test_blacklist_sparc64
+endif
+
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        http_proxy='' dh_auto_test -- PYTHON=python3 TESTFLAGS="$(test_flags)"

Could you apply it for the next upload?

I'm also attaching it as a separate patch.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
mercurial-sparc64.diff (text/plain, 1.3 KB)
diff -Nru mercurial-orig/mercurial-6.9/debian/mercurial.test_blacklist_sparc64 mercurial-sparc64/mercurial-6.9/debian/mercurial.test_blacklist_sparc64
--- mercurial-orig/mercurial-6.9/debian/mercurial.test_blacklist_sparc64	1970-01-01 01:00:00.000000000 +0100
+++ mercurial-sparc64/mercurial-6.9/debian/mercurial.test_blacklist_sparc64	2024-12-23 16:50:27.079212664 +0100
@@ -0,0 +1,4 @@
+# fails on sparc64 buildds
+test-bookmarks-corner-case.t
+test-copies-chain-merge.t
+test-sparse-revlog.t
diff -Nru mercurial-orig/mercurial-6.9/debian/rules mercurial-sparc64/mercurial-6.9/debian/rules
--- mercurial-orig/mercurial-6.9/debian/rules	2024-10-29 16:42:39.000000000 +0100
+++ mercurial-sparc64/mercurial-6.9/debian/rules	2025-01-08 18:38:36.423438093 +0100
@@ -35,11 +35,17 @@
     --timeout 1800 \
     $(PARALLEL_TEST_JOBS) \
     --blacklist $(CURDIR)/debian/mercurial.test_blacklist
+
 ifeq ($(DEB_HOST_ARCH), riscv64)
 test_flags += \
     --blacklist $(CURDIR)/debian/mercurial.test_blacklist_riscv64
 endif
 
+ifeq ($(DEB_HOST_ARCH), sparc64)
+test_flags += \
+    --blacklist $(CURDIR)/debian/mercurial.test_blacklist_sparc64
+endif
+
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	http_proxy='' dh_auto_test -- PYTHON=python3 TESTFLAGS="$(test_flags)"
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.