summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-02-03 23:39:32 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-02-03 23:44:45 +0100
commitceb12ccfcdb641140508780419a25d08c6cd7075 (patch)
tree95e846c56c0f5aeb55e4aa35b176cb5f3aa39749
parent3acd211a3c51f0ac55c32c172f1b4f9a5e0d1e60 (diff)
downloadguix-ceb12ccfcdb641140508780419a25d08c6cd7075.tar.gz
gnu: emacs-wgrep: Run tests.
* gnu/packages/emacs-xyz.scm (emacs-wgrep)[arguments]: Run tests.
[native-inputs]: Add EMACS-DASH and EMACS-S.
-rw-r--r--gnu/packages/emacs-xyz.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b3ecf15257..eca467f11d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13430,6 +13430,13 @@ by Python's Jinja.")
                (base32
                 "16qg5dpg7hms5dmh92ksnjahf6010pw97ggi7sb0mfafd6iwps0a"))))
     (build-system emacs-build-system)
+    (arguments
+     (list
+      #:tests? #true
+      #:test-command #~(list "emacs" "--batch" "-Q"
+                             "-l" "wgrep-test.el"
+                             "-f" "ert-run-tests-batch-and-exit")))
+    (native-inputs (list emacs-dash emacs-s))
     (home-page "https://github.com/mhayashi1120/Emacs-wgrep")
     (synopsis "Edit a grep buffer and apply those changes to the files")
     (description