aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-08-20 12:58:50 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-08-20 12:58:50 +0200
commitb71b6c3a6defecde6154ac52abdaa392c40e160a (patch)
tree3564dee4bbd24155cf3d3c0c32b1a1fe4f982c1d
parent9e4a0d6be2752ba65304747c2e9ebba7838965d3 (diff)
downloadguix-b71b6c3a6defecde6154ac52abdaa392c40e160a.tar.gz
guix-b71b6c3a6defecde6154ac52abdaa392c40e160a.zip
gnu: emacs-systemd-mode: Run tests.
* gnu/packages/emacs-xyz.scm (emacs-systemd-mode)[arguments]: Fix included files list. Run tests. Change-Id: Ice6f52b93ca76640ab97cda84e7d67fa9ce01023
-rw-r--r--gnu/packages/emacs-xyz.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 76882bfc80..398ae7cc7e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -35123,7 +35123,13 @@ count matches, etc.")
(base32
"0ylgnvpfindg4cxccbqy02ic7p0i9rygf1w16dm1filwhbqvjplq"))))
(build-system emacs-build-system)
- (arguments '(#:include '("\\.el$" "\\.txt$")))
+ (arguments
+ (list #:include #~(cons* "\\.txt$" %default-include)
+ #:tests? #true
+ #:test-command #~(list "emacs" "-Q" "--batch"
+ "-L" "."
+ "-l" "test/systemd-tests.el"
+ "-f" "ert-run-tests-batch-and-exit")))
(home-page "https://github.com/holomorph/systemd-mode")
(synopsis
"Major mode for editing systemd units")