guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: emacs-m-buffer-el: Honor the #:tests? flag.


From: guix-commits
Subject: 01/02: gnu: emacs-m-buffer-el: Honor the #:tests? flag.
Date: Wed, 2 Mar 2022 09:11:46 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 8e2eecc67bec5dcdc9a11dbc02c3e0852f940191
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Mar 2 15:09:08 2022 +0100

    gnu: emacs-m-buffer-el: Honor the #:tests? flag.
    
    * gnu/packages/emacs-xyz.scm (emacs-m-buffer-el)[arguments]: Adjust custom
    'check phase to honor the #:tests? flag.
---
 gnu/packages/emacs-xyz.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 045f5d21ae..52dff21e4d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18882,11 +18882,12 @@ mode.")
      `(#:phases
        (modify-phases %standard-phases
          (add-before 'install 'check
-           (lambda* (#:key inputs #:allow-other-keys)
-             (invoke "emacs" "--batch" "-L" "."
-                     "-l" "test/m-buffer-test.el"
-                     "-l" "test/m-buffer-at-test.el"
-                     "-f" "ert-run-tests-batch-and-exit"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "emacs" "--batch" "-L" "."
+                       "-l" "test/m-buffer-test.el"
+                       "-l" "test/m-buffer-at-test.el"
+                       "-f" "ert-run-tests-batch-and-exit")))))))
     (build-system emacs-build-system)
     (home-page "https://github.com/phillord/m-buffer-el";)
     (synopsis "List oriented buffer operations for Emacs")



reply via email to

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