guix_mirror_bot pushed a commit to branch emacs-team
in repository guix.
commit d91437165240e7d322fce6c9bc0f896ef660f6a7
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Mon Apr 21 21:03:03 2025 +0200
gnu: emacs-so-long: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-so-long)[arguments]: Add #:test-command.
<#:phases>: Add ‘fix-tests’.
---
gnu/packages/emacs-xyz.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9d01d5f8f7..71038b2fe9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31111,6 +31111,14 @@ server with @code{M-x pinentry-start}.")
(base32
"06a76ajfqgz48yqvvyhi5b9zss9c6h4xz6acg98ibg0v99v9k5pz"))))
(build-system emacs-build-system)
+ (arguments
+ (list #:test-command #~(list "make" "test")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* "Makefile"
+ (("tests\\.elc") "tests")))))))
(home-page "https://www.emacswiki.org/emacs/SoLong")
(synopsis "Improve performance in files with long lines")
(description "This package improves the performance of Emacs when