GNU bug report logs -
#74618
[PATCH] gnu: lcov: disable parallel tests
Previous Next
Reported by: Ryan Sundberg <ryan <at> arctype.co>
Date: Sat, 30 Nov 2024 07:37:02 UTC
Severity: normal
Tags: patch
Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 07 Dec 2024 09:41:00 +0800
with message-id <871pykclsj.fsf <at> iscas.ac.cn>
and subject line Re: [bug#74618] [PATCH] gnu: lcov: disable parallel tests
has caused the debbugs.gnu.org bug report #74618,
regarding [PATCH] gnu: lcov: disable parallel tests
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
74618: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74618
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
`make check` is not reliable for lcov when run in parallel
(e.g. `make -j 24 check`). Disable parallelism for the test suite.
* gnu/packages/code (lcov): Set #:parallel-tests? #f
Signed-off-by: Ryan Sundberg <ryan <at> arctype.co>
Change-Id: Ibb3618c4786dfbb50b90e725297947458115347c
---
gnu/packages/code.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 04ca4dfd6b..6ac514a5b5 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -556,6 +556,7 @@ (define-public lcov
'(#:test-target "test"
#:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out")))
+ #:parallel-tests? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-references-to-commands
base-commit: ce877a777e6ec089dc347e9883387d3080b471cf
--
2.41.0
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
please use [PATCH v2] next.
Ryan Sundberg via Guix-patches via <guix-patches <at> gnu.org> writes:
> `make check` is not reliable for lcov when run in parallel
> (e.g. `make -j 24 check`). Disable parallelism for the test suite.
>
> * gnu/packages/code (lcov): Set #:parallel-tests? #f
>
> Signed-off-by: Ryan Sundberg <ryan <at> arctype.co>
> Change-Id: Ibb3618c4786dfbb50b90e725297947458115347c
> ---
> gnu/packages/code.scm | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
> index 04ca4dfd6b..2ad1d8616a 100644
> --- a/gnu/packages/code.scm
> +++ b/gnu/packages/code.scm
> @@ -556,6 +556,9 @@ (define-public lcov
> '(#:test-target "test"
> #:make-flags (list (string-append "PREFIX="
> (assoc-ref %outputs "out")))
> + ;; This test suite has race conditions in its scripts which make it
> + ;; unreliable when run in parallel.
> + #:parallel-tests? #f
> #:phases
> (modify-phases %standard-phases
> (add-after 'unpack 'patch-references-to-commands
>
> base-commit: ce877a777e6ec089dc347e9883387d3080b471cf
pushed, closing.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.