gnu: leptonica: Fix random test failures.

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
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Ahmad Draidi 2024-02-15 16:55:22 +04:00 committed by Guillaume Le Vaillant
parent 63b96da5ea
commit df5653adcb
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -780,6 +780,9 @@ (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