summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRutherther <rutherther@ditigal.xyz>2025-12-14 23:07:06 +0100
committerAndreas Enge <andreas@enge.fr>2025-12-17 11:20:19 +0100
commit461eaba6662323ea5ced743733e5b10cba14abb0 (patch)
treea1670871cceff3572ea9cfe6e6501e3248a0360d /gnu/packages
parent1d3b78360cdeb93be33b1dc6c735994679252880 (diff)
gnu: clisp: Disable parallel tests.
Run the test suite sequentially. This prevents non-determinism of clisp tests to some degree. It doesn't prevent it completely, though. Thanks to Hugo Buddelmeijer <hugo@buddelmeijer.nl> who figured this out. * gnu/packages/lisp.scm (clisp): Add phase to disable parallel tests. Change-Id: I76e401151cb696e0f96c02771e111bd2cfb4d8f4 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 6e8f1bbb661..4911fe41c1f 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -600,7 +600,17 @@ Definition Facility.")
"/share/common-lisp/source/asdf/asdf.lisp"))
(contrib-asdf "modules/asdf/asdf.lisp"))
(delete-file contrib-asdf)
- (copy-file guix-asdf contrib-asdf)))))))
+ (copy-file guix-asdf contrib-asdf))))
+ (add-after 'configure 'patch-parallel-tests
+ (lambda _
+ ;; Parallel runs of test are causing a lot of non-determinism
+ ;; in clisp. This doesn't fix the non-determinism completely,
+ ;; but it makes the package build more times than before.
+ ;; NOTE: this doesn't seem to take much more time than
+ ;; the parallel tests.
+ (substitute* "src/Makefile"
+ ((" check-tests-parallel ") " check-tests-all "))
+ #t)))))
(native-search-paths
(list (search-path-specification
(variable "XDG_DATA_DIRS")