guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: emacs-vdiff: Enable tests.


From: guix-commits
Subject: 03/03: gnu: emacs-vdiff: Enable tests.
Date: Tue, 24 Sep 2019 23:57:46 -0400 (EDT)

leungbk pushed a commit to branch master
in repository guix.

commit ac87bc57af9bcb6cbb45eaf90256f8f27e4e8729
Author: Brian Leung <address@hidden>
Date:   Wed Sep 25 05:55:19 2019 +0200

    gnu: emacs-vdiff: Enable tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-vdiff): Enable tests.
---
 gnu/packages/emacs-xyz.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4ee53fb..0fc76a4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17095,16 +17095,15 @@ compatible with Emacs' shell modes.")
 
 (define-public emacs-vdiff
   (let ((commit "09e15fc932bfd2febe1d4a65780a532394562b07")
-        (version "0.2.3")
         (revision "1"))
     (package
       (name "emacs-vdiff")
-      (version (git-version version revision commit))
+      (version (git-version "0.2.3" revision commit))
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
-               (url "https://github.com/justbur/emacs-vdiff/";)
+               (url "https://github.com/justbur/emacs-vdiff.git";)
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
@@ -17113,6 +17112,11 @@ compatible with Emacs' shell modes.")
       (build-system emacs-build-system)
       (propagated-inputs
        `(("emacs-hydra" ,emacs-hydra)))
+      (arguments
+       `(#:tests? #t
+         #:test-command '("emacs" "-Q" "-batch" "-L" "."
+                          "-l" "vdiff-test.el"
+                          "-f" "ert-run-tests-batch-and-exit")))
       (home-page "https://github.com/justbur/emacs-vdiff/";)
       (synopsis "Frontend for diffing based on vimdiff")
       (description "This package permits comparisons of two or three buffers



reply via email to

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