Bug#1092498: mercurial: Please skip some tests on hppa
John Paul Adrian Glaubitz <[email protected]> Wed, 08 Jan 2025 18:54:42 +0100
| Newsgroups | gmane.linux.debian.ports.hppa |
|---|---|
| Message-ID | <173635888249.1150096.7990959092966785588.reportbug__13303.2901723467$1736359048$gmane$org@z6> |
Source: mercurial Version: 6.9-1 Severity: normal Tags: patch User: [email protected] Usertags: hppa X-Debbugs-Cc: [email protected] 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
mercurial-hppa.diff
(text/plain, 1.2 KB)
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)"