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

commit 0e0025f5e3b367d3ea15e83fe8c3e65e00dcd4d4
Author: Liliana Marie Prikler <liliana.prik...@gmail.com>
AuthorDate: Thu Mar 13 20:42:59 2025 +0100

    gnu: emacs-evil-smartparens: Handle tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-evil-smartparens)[arguments]:
    Add #:test-command.  Disable tests.
    [native-inputs]: Add emacs-evil-surround.
---
 gnu/packages/emacs-xyz.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2c3587c7ef..8c91a1654c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24828,8 +24828,15 @@ evil mode using @kbd{%}.  It is a port of 
@code{matchit} for Vim.")
        (sha256
         (base32 "1di4qz5fbrlwbg16c2j0m7y8zqfxw027qd7zqmc3rwk9znbhg7wl"))))
     (build-system emacs-build-system)
+    (arguments (list #:tests? #f        ; XXX: 39/41 test failures
+                     #:test-command
+                     #~(list "emacs" "--batch" "-L" "."
+                             "-L" "tests/evil-tests"
+                             "-l" "tests/evil-smartparens-tests.el"
+                             "-f" "ert-run-tests-batch-and-exit")))
     (propagated-inputs
      (list emacs-evil emacs-smartparens))
+    (native-inputs (list emacs-evil-surround))
     (home-page "https://github.com/expez/evil-smartparens";)
     (synopsis "Emacs Evil integration for Smartparens")
     (description "@code{emacs-evil-smartparens} is an Emacs minor mode which

Reply via email to