lilyp pushed a commit to branch emacs-team
in repository guix.
commit 0d84ffffbaef944a0985d14925142612d63c7aaf
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Fri Mar 21 22:10:42 2025 +0100
gnu: emacs-shell-command+: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-shell-command+)[arguments]:
Add #:test-command.
<#:phases>: Add ‘fix-tests’.
---
gnu/packages/emacs-xyz.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3e0e420a19..b0d5114096 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -40887,6 +40887,16 @@ rather excellent completion provided by both Bash and
Zsh.")
(base32
"022i7ydwckxqk16s4a83mrdr0c4rmap906qypdkjfh1rjw75qwm5"))))
(build-system emacs-build-system)
+ (arguments (list #:test-command #~(list "make" "test")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* "shell-command+-tests.el"
+ (("\"shell-command\\+-tests\\.el\"" all)
+ (string-append
"\"shell-command+-autoloads.el\""
+ " "
+ all))))))))
(home-page "https://elpa.gnu.org/packages/shell-command+.html")
(synopsis "Extended Emacs @code{shell-command}")
(description