guix_mirror_bot pushed a commit to branch emacs-team in repository guix. commit c5f07b656e01776480b708c8ef5bce4a2a700fa3 Author: Liliana Marie Prikler <liliana.prik...@gmail.com> 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 70b8e2840a..f8ab2b8779 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -41213,6 +41213,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