gnu: emacs-clojure-mode: Enable tests.

* gnu/packages/emacs.scm (emacs-clojure-mode)[arguments]: Add 'check' phase.
[native-inputs]: Add emacs-dash, emacs-s and ert-runner.
This commit is contained in:
Arun Isaac 2017-05-11 23:28:53 +05:30
parent 8744901365
commit 92d9cfef6b
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3

View File

@ -2876,6 +2876,16 @@ S-expression.")
(base32
"117mvjqh4nm8mvmwmmvy4qmkdg23ldlzk08y91g8b8ac8kxwqg81"))))
(build-system emacs-build-system)
(native-inputs
`(("emacs-dash" ,emacs-dash)
("emacs-s" ,emacs-s)
("ert-runner" ,ert-runner)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'check
(lambda _
(zero? (system* "ert-runner")))))))
(home-page "https://github.com/clojure-emacs/clojure-mode")
(synopsis "Major mode for Clojure code")
(description