summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2019-09-22 22:37:22 +0200
committerBrian Leung <leungbk@mailfence.com>2019-09-22 22:37:22 +0200
commit97d4dab0a6c00405fd2997627ef06242335eb821 (patch)
treec71d37b255e792f0c09380c2b680e567aa8f5da7
parent08a36df874b69f5036ac6273006c65996cb884e7 (diff)
downloadguix-97d4dab0a6c00405fd2997627ef06242335eb821.tar.gz
gnu: emacs-tco-el: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-tco-el): Enable tests.
-rw-r--r--gnu/packages/emacs-xyz.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 605fe4b990..19e7ab305a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16919,11 +16919,10 @@ parent directory using @code{Eshell}.")
 
 (define-public emacs-tco-el
   (let ((commit "482db5313f090b17ed22ccd856f0e141dc75afe6")
-        (version "0.3")
         (revision "1"))
     (package
       (name "emacs-tco-el")
-      (version (git-version version revision commit))
+      (version (git-version "0.3" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -16937,6 +16936,12 @@ parent directory using @code{Eshell}.")
       (build-system emacs-build-system)
       (propagated-inputs
        `(("emacs-dash" ,emacs-dash)))
+      (native-inputs
+       `(("emacs-ert-runner" ,emacs-ert-runner)
+         ("emacs-undercover" ,emacs-undercover)))
+      (arguments
+       `(#:tests? #t
+         #:test-command '("ert-runner")))
       (home-page "https://github.com/Wilfred/tco.el")
       (synopsis "Tail-call optimization for Emacs Lisp")
       (description "This package provides tail-call optimization for Emacs