lilyp pushed a commit to branch emacs-team
in repository guix.

commit 219158fa35705bc7444583be0662d8dfa7f1fa30
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Thu Mar 13 20:43:00 2025 +0100

    gnu: emacs-edn: Handle tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-edn)[arguments]: Add #:test-command.
    Disable tests.
---
 gnu/packages/emacs-xyz.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 58a9681b6c..e13984483f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -39107,6 +39107,11 @@ It also provides original Helm commands: 
@command{helm-cider-spec},
                  (base32
                   "1xp2hjhn52k6l1g6ypva6dsklpawni7gvjafbz6404f9dyxflh7l"))))
       (build-system emacs-build-system)
+      (arguments (list #:tests? #f      ; XXX: void-variable peg-stack
+                       #:test-command
+                       #~(list "emacs" "--batch" "-L" "." "-L" "tests"
+                               "-l" "tests/edn-tests"
+                               "-f" "ert-run-tests-batch-and-exit")))
       (propagated-inputs
        (list emacs-peg))
       (synopsis "Read and write EDN from Elisp")

Reply via email to