GNU bug report logs - #69166
[PATCH 0/2] Fix random test failures and update leptonica

Previous Next

Package: guix-patches;

Reported by: Ahmad Draidi <a.r.draidi <at> redscript.org>

Date: Thu, 15 Feb 2024 12:55:01 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ahmad Draidi <a.r.draidi <at> redscript.org>
To: 69166 <at> debbugs.gnu.org
Cc: Ahmad Draidi <a.r.draidi <at> redscript.org>
Subject: [bug#69166] [PATCH 1/2] gnu: leptonica: Fix random test failures.
Date: Thu, 15 Feb 2024 16:55:22 +0400
Fixes <https://issues.guix.gnu.org/65441>.

Running tests in parallel (e.g. "make check -j16") causes random test
failures. Same behavior observed on Debian.

* gnu/packages/image.scm (leptonica)[arguments]: Disable parallel tests.

Change-Id: I629c6c8be626a704be046dc79ea4480896cd11cc
---
 gnu/packages/image.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 1f434667f8..8ca928c616 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -779,6 +779,8 @@ (define-public leptonica
            zlib))
     (arguments
      (list
+      ;; Parallel tests cause some tests to fail randomly. Same thing observed on Debian.
+      #:parallel-tests? #f
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-reg-wrapper
-- 
2.41.0





This bug report was last modified 1 year and 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.