summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-09-03 22:55:54 +0200
committerOleg Pykhalov <go.wigust@gmail.com>2019-09-06 12:26:29 +0300
commita9ca0325b55419d625ee461962528aa0522d473b (patch)
tree375d0d0e2abe7ae6c5bc780ab32b148bbefcb91e
parent4278537e85b11807765136f19b43534413fca173 (diff)
downloadpatches-a9ca0325b55419d625ee461962528aa0522d473b.tar
patches-a9ca0325b55419d625ee461962528aa0522d473b.tar.gz
gnu: emacs-evil-traces: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-evil-traces): Enable tests. Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
-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 04e92b7cbf..5b4b2be904 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17597,6 +17597,17 @@ corresponding Evil keys.")
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-evil" ,emacs-evil)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-shell
+ ;; Setting the SHELL environment variable is required for the tests
+ ;; to find sh.
+ (lambda _
+ (setenv "SHELL" (which "sh"))
+ #t)))
+ #:tests? #t
+ #:test-command '("make" "test")))
(home-page "https://github.com/mamapanda/evil-traces")
(synopsis "Visual hints for @code{evil-ex}")
(description "This package adds visual hints to certain @code{ex}