summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-11-01 09:42:21 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-11-01 09:53:52 +0100
commitf93788531182c6ab55821f301047d1aab85a9b60 (patch)
tree46f9234e2b38ce43e47e7f6b8aadd9a5cae6ada2 /gnu
parent693509685c1f4a7107d4b836eba03414f81e24f3 (diff)
downloadguix-f93788531182c6ab55821f301047d1aab85a9b60.tar.gz
gnu: emacs-janpath-evil-numbers: Activate tests.
* gnu/packages/emacs-xyz.scm (emacs-janpath-evil-numbers)[arguments]: Activate
tests.
[native-inputs]: Add EMACS-ERT-RUNNER.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 11bf50c8fa..f377630e85 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13425,6 +13425,14 @@ used for reverse direction.")
           (base32
            "006s8azhypp5n7jnvqkb4rmzqmnsdwj87c3r97zhjzgi2jq953gx"))))
       (build-system emacs-build-system)
+      (arguments
+       (list
+        #:tests? #t
+        #:test-command #~(list "emacs" "--batch"
+                               "-l" "evil-numbers.el"
+                               "-l" "tests/evil-numbers-tests.el"
+                               "-f" "ert-run-tests-batch-and-exit")))
+      (native-inputs (list emacs-ert-runner))
       (propagated-inputs (list emacs-evil))
       (home-page "https://github.com/juliapath/evil-numbers")
       (synopsis "Increment and decrement numeric literals")