guix-commits
[Top][All Lists]
Advanced

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

12/17: gnu: emacs-org-jira: Run tests.


From: guix-commits
Subject: 12/17: gnu: emacs-org-jira: Run tests.
Date: Fri, 24 Mar 2023 05:14:36 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 55d3bd84a16b67613332e06f207e15e6e8394f5e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Mar 24 09:49:56 2023 +0100

    gnu: emacs-org-jira: Run tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-org-jira)[arguments]: Run tests.
---
 gnu/packages/emacs-xyz.scm | 50 +++++++++++++++++++++++++++-------------------
 1 file changed, 30 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8cfc8026b7..eb87d78894 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31492,27 +31492,37 @@ contains a track position, playback will start at the 
specified position.")
 
 (define-public emacs-org-jira
   (package
-   (name "emacs-org-jira")
-   (version "4.4.1")
-   (source
-    (origin
-     (method git-fetch)
-     (uri (git-reference
-           (url "https://github.com/ahungry/org-jira";)
-           (commit version)))
-     (file-name (git-file-name name version))
-     (sha256
-      (base32
-       "1pkqyvziwp2573hnr8s41chsbm40564f76i3l8ynjr7955nccsms"))))
-   (build-system emacs-build-system)
-   (propagated-inputs
-    (list emacs-dash emacs-org emacs-request))
-   (home-page "https://github.com/ahungry/org-jira";)
-   (synopsis "Syncing between Jira and Org mode")
-   (description
-    "This package provides an extension to Org mode for syncing issues with
+    (name "emacs-org-jira")
+    (version "4.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ahungry/org-jira";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1pkqyvziwp2573hnr8s41chsbm40564f76i3l8ynjr7955nccsms"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:tests? #true
+      #:test-command #~(list "emacs" "-Q" "--batch"
+                             "-l" "jiralib.el"
+                             "-l" "org-jira-sdk.el"
+                             "-l" "org-jira.el"
+                             "-l" "t/org-jira-t.el"
+                             "-l" "t/jiralib-t.el"
+                             "-f" "ert-run-tests-batch-and-exit")))
+    (propagated-inputs
+     (list emacs-dash emacs-org emacs-request))
+    (home-page "https://github.com/ahungry/org-jira";)
+    (synopsis "Syncing between Jira and Org mode")
+    (description
+     "This package provides an extension to Org mode for syncing issues with
 JIRA issue servers.")
-   (license license:gpl3+)))
+    (license license:gpl3+)))
 
 (define-public emacs-slime-volleyball
   (package



reply via email to

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