lilyp pushed a commit to branch emacs-team
in repository guix.
commit 03976aaeaff4cb4000bab9780b3aa2150810a3b5
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sun Mar 23 08:18:59 2025 +0100
gnu: emacs-purescript-mode: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-purescript-mode)[arguments]:
Add #:test-command.
[native-inputs]: Add emacs-ert-runner.
---
gnu/packages/emacs-xyz.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bb59bf1388..fc4894d076 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11963,14 +11963,17 @@ linting of manifests and integration with Puppet
Debugger.")
"0rxdsmx8826az4blhnnvqrx7bjky9hwph6gkyrh33sck26xhh3g5"))))
(build-system emacs-build-system)
(arguments
- `(#:phases
+ `(#:test-command (list "ert-runner" "tests"
+ "-l" "tests/haskell-sort-imports-tests.el"
+ "-l" "tests/haskell-str-tests.el")
+ #:phases
(modify-phases %standard-phases
(add-before 'install 'make-info
(lambda _
(invoke "makeinfo" "--no-split"
"-o" "purescript-mode.info" "purescript-mode.texi"))))))
(native-inputs
- (list texinfo))
+ (list emacs-ert-runner texinfo))
(home-page "https://github.com/purescript-emacs/purescript-mode")
(synopsis "Emacs major mode and related tools for Purescript")
(description "This package provides an Emacs major mode for writing
Purescript.")