Source: mercurial
Version: 6.9-1
Severity: normal
Tags: patch

Hello,

several architectures like alpha, hppa and sparc64 require some more time for
testing due to slower single-core performance.

The following patch changes debian/rules to double the timeout for all slow
architectures and adds an additional --allow-slow-tests to the test flags:

--- mercurial-orig/mercurial-6.9/debian/rules   2024-10-29 16:42:39.000000000 
+0100
+++ mercurial-new/mercurial-6.9/debian/rules    2025-01-08 18:35:00.597339737 
+0100
@@ -32,9 +32,18 @@
 
 test_flags = \
     --verbose \
-    --timeout 1800 \
     $(PARALLEL_TEST_JOBS) \
     --blacklist $(CURDIR)/debian/mercurial.test_blacklist
+
+ifneq (,$(filter alpha hppa m68k sh4 sparc64, $(DEB_HOST_ARCH)))
+test_flags += \
+    --allow-slow-tests \
+    --timeout 3600
+else
+test_flags += \
+    --timeout 1800
+endif
+
 ifeq ($(DEB_HOST_ARCH), riscv64)
 test_flags += \
     --blacklist $(CURDIR)/debian/mercurial.test_blacklist_riscv64

Could you include this change for the next upload?

I'm also attaching a separate patch.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- mercurial-orig/mercurial-6.9/debian/rules   2024-10-29 16:42:39.000000000 
+0100
+++ mercurial-new/mercurial-6.9/debian/rules    2025-01-08 18:35:00.597339737 
+0100
@@ -32,9 +32,18 @@
 
 test_flags = \
     --verbose \
-    --timeout 1800 \
     $(PARALLEL_TEST_JOBS) \
     --blacklist $(CURDIR)/debian/mercurial.test_blacklist
+
+ifneq (,$(filter alpha hppa m68k sh4 sparc64, $(DEB_HOST_ARCH)))
+test_flags += \
+    --allow-slow-tests \
+    --timeout 3600
+else
+test_flags += \
+    --timeout 1800
+endif
+
 ifeq ($(DEB_HOST_ARCH), riscv64)
 test_flags += \
     --blacklist $(CURDIR)/debian/mercurial.test_blacklist_riscv64

Reply via email to