guix-commits
[Top][All Lists]
Advanced

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

05/08: gnu: emacs-ob-go: Fix build.


From: guix-commits
Subject: 05/08: gnu: emacs-ob-go: Fix build.
Date: Fri, 22 Sep 2023 18:03:57 -0400 (EDT)

lilyp pushed a commit to branch emacs-team
in repository guix.

commit 73388a1a19787f8be011a25fd497e48fef9b3aba
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Fri Sep 15 20:48:12 2023 +0200

    gnu: emacs-ob-go: Fix build.
    
    * gnu/packages/emacs-xyz.scm (emacs-ob-go)[#:phases]: Add 
‘ert-number-tests’.
---
 gnu/packages/emacs-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4ca6b62026..01c9273ac4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7437,7 +7437,14 @@ blocks with @code{org-babel} in @code{org-mode}.")
         #:test-command #~(list "emacs" "--batch" "-L" "."
                                "--eval=(require 'ob-go)"
                                "-l" "test-ob-go.el"
-                               "-f" "ert-run-tests-batch-and-exit")))
+                               "-f" "ert-run-tests-batch-and-exit")
+        #:phases #~(modify-phases %standard-phases
+                     (add-after 'unpack 'ert-number-tests
+                       (lambda _
+                         (ert-number-tests "test-ob-go.el"
+                                           "ob-go/string-variables")
+                         (ert-number-tests "test-ob-go.el"
+                                           "ob-go/imports"))))))
       (home-page "https://github.com/pope/ob-go";)
       (synopsis "Org Babel support for evaluating Go code")
       (description "@code{ob-go} enables Org Babel support for evaluating Go



reply via email to

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