gnu: emacs-systemd-mode: Run tests.

* gnu/packages/emacs-xyz.scm (emacs-systemd-mode)[arguments]: Fix included
files list. Run tests.

Change-Id: Ice6f52b93ca76640ab97cda84e7d67fa9ce01023
This commit is contained in:
Nicolas Goaziou 2024-08-20 12:58:50 +02:00
parent 9e4a0d6be2
commit b71b6c3a6d
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -35123,7 +35123,13 @@ (define-public emacs-systemd-mode
(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")