summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-09-03 08:43:42 +0200
committerOleg Pykhalov <go.wigust@gmail.com>2019-09-06 12:26:02 +0300
commit1acf8e7ea8b742f468cff641ec33ce1ced2cafe0 (patch)
tree32745c4380e38506a33758b95cd666a39ad4b711 /gnu
parenta8afeb058e79214a9360862dab8861768b838e28 (diff)
downloadguix-1acf8e7ea8b742f468cff641ec33ce1ced2cafe0.tar.gz
gnu: emacs-evil-exchange: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-evil-exchange): Enable tests.
[native-inputs]: Add emacs-ert-runner.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8bbaf48c21..b547f89459 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6786,6 +6786,17 @@ a popup window for previewing candidates.")
            "0bjpn4yqig17ddym6wqq5fm1b294q74hzcbj9a6gs97fqiwf88xa"))))
       (build-system emacs-build-system)
       (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+      (native-inputs `(("emacs-ert-runner" ,emacs-ert-runner)))
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-before 'check 'fix-makefile
+             (lambda _
+               (substitute* "Makefile"
+                 (("cask exec ") ""))
+               #t)))
+         #:tests? #t
+         #:test-command '("make" "test")))
       (home-page "https://github.com/Dewdrops/evil-exchange")
       (synopsis "Exchange text easily within Evil")
       (description