summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-03-24 23:45:25 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-03-24 23:53:12 +0100
commit97c594a7722defe00f4ee45ff35a77d8ccfb9bf3 (patch)
tree4994ebd8dff0e8fec05bd08b0720e4275f52820f
parent950facd1389e1528a0cda32215dbcffc3b596d9c (diff)
downloadguix-97c594a7722defe00f4ee45ff35a77d8ccfb9bf3.tar.gz
gnu: emacs-evil-collection: Run tests.
* gnu/packages/emacs-xyz.scm (emacs-evil-collection)[arguments]: Run tests.
[native-inputs]: Add EMACS-MAGIT.
[propagated-inputs]: Reorder-alphabetically.
-rw-r--r--gnu/packages/emacs-xyz.scm16
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 35090e3eb4..ae158a41bf 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14649,10 +14649,20 @@ extensions.")
        (sha256
         (base32 "1y1ig4shqaaiiwqm5pv8hvh8ynr6irhffkgmpyzmhdaaicxnfazc"))))
     (build-system emacs-build-system)
-    (propagated-inputs
-     (list emacs-evil emacs-annalist))
     (arguments
-     `(#:include (cons* "^modes\\/" %default-include)))
+     (list
+      #:include #~(cons* "^modes\\/" %default-include)
+      #:tests? #true
+      #:test-command #~(list "emacs" "-Q" "--batch"
+                             "-L" "."
+                             "-L" "./test"
+                             "-l" "evil-collection-test.el"
+                             "-l" "evil-collection-magit-tests.el"
+                             "-f" "ert-run-tests-batch-and-exit")))
+    (native-inputs
+     (list emacs-magit))
+    (propagated-inputs
+     (list emacs-annalist emacs-evil))
     (home-page "https://github.com/emacs-evil/evil-collection")
     (synopsis "Collection of Evil bindings for many major and minor modes")
     (description "This is a collection of Evil bindings for the parts of