guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/08: gnu: emacs-evil-traces: Enable tests.


From: guix-commits
Subject: 08/08: gnu: emacs-evil-traces: Enable tests.
Date: Fri, 6 Sep 2019 05:29:33 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit a9ca0325b55419d625ee461962528aa0522d473b
Author: Brian Leung <address@hidden>
Date:   Tue Sep 3 22:55:54 2019 +0200

    gnu: emacs-evil-traces: Enable tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-evil-traces): Enable tests.
    
    Signed-off-by: Oleg Pykhalov <address@hidden>
---
 gnu/packages/emacs-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 04e92b7..5b4b2be 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}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]