Source: mercurial
Version: 6.9-1
Severity: normal
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hppa
X-Debbugs-Cc: debian-h...@lists.debian.org

Hello,

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

diff -Nru mercurial-orig/mercurial-6.9/debian/mercurial.test_blacklist_hppa 
mercurial-hppa/mercurial-6.9/debian/mercurial.test_blacklist_hppa
--- mercurial-orig/mercurial-6.9/debian/mercurial.test_blacklist_hppa   
1970-01-01 01:00:00.000000000 +0100
+++ mercurial-hppa/mercurial-6.9/debian/mercurial.test_blacklist_hppa   
2025-01-08 18:45:14.357922794 +0100
@@ -0,0 +1,3 @@
+# fails on hppa buildds
+test-copies-chain-merge.t
+test-sparse-revlog.t
diff -Nru mercurial-orig/mercurial-6.9/debian/rules 
mercurial-hppa/mercurial-6.9/debian/rules
--- mercurial-orig/mercurial-6.9/debian/rules   2024-10-29 16:42:39.000000000 
+0100
+++ mercurial-hppa/mercurial-6.9/debian/rules   2025-01-08 18:43:00.177029016 
+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), hppa)
+test_flags += \
+    --blacklist $(CURDIR)/debian/mercurial.test_blacklist_hppa
+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_hppa 
mercurial-hppa/mercurial-6.9/debian/mercurial.test_blacklist_hppa
--- mercurial-orig/mercurial-6.9/debian/mercurial.test_blacklist_hppa   
1970-01-01 01:00:00.000000000 +0100
+++ mercurial-hppa/mercurial-6.9/debian/mercurial.test_blacklist_hppa   
2025-01-08 18:45:14.357922794 +0100
@@ -0,0 +1,3 @@
+# fails on hppa buildds
+test-copies-chain-merge.t
+test-sparse-revlog.t
diff -Nru mercurial-orig/mercurial-6.9/debian/rules 
mercurial-hppa/mercurial-6.9/debian/rules
--- mercurial-orig/mercurial-6.9/debian/rules   2024-10-29 16:42:39.000000000 
+0100
+++ mercurial-hppa/mercurial-6.9/debian/rules   2025-01-08 18:43:00.177029016 
+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), hppa)
+test_flags += \
+    --blacklist $(CURDIR)/debian/mercurial.test_blacklist_hppa
+endif
+
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        http_proxy='' dh_auto_test -- PYTHON=python3 TESTFLAGS="$(test_flags)"

Reply via email to