Bug#1092499: mercurial: Please skip some tests on sparc64
Source: mercurial
Version: 6.9-1
Severity: normal
Tags: patch
User: debian-sparc@lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc@lists.debian.org
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
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)"
Reply to: