aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2017-05-11 23:28:53 +0530
committerArun Isaac <arunisaac@systemreboot.net>2017-05-13 20:44:59 +0530
commit92d9cfef6bb2bb2000434636d80eaea6b7eb36e0 (patch)
tree73e7d9974a73ed6da7410b7db5019b56592f1881 /gnu/packages
parent87449013656ba6507bfb4ba58a4a4ff12c784751 (diff)
downloadguix-92d9cfef6bb2bb2000434636d80eaea6b7eb36e0.tar
guix-92d9cfef6bb2bb2000434636d80eaea6b7eb36e0.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f3b23bb6f4..3d9e83713e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -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