guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: emacs-all-the-icons: Honour #:tests?


From: guix-commits
Subject: 02/08: gnu: emacs-all-the-icons: Honour #:tests?
Date: Sat, 26 Aug 2023 01:04:32 -0400 (EDT)

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

commit ef077b83f9de49c6f162eddb6ccd61f3d78e591f
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Aug 19 00:22:25 2023 +0200

    gnu: emacs-all-the-icons: Honour #:tests?
    
    * gnu/packages/emacs-xyz.scm (emacs-all-the-icons)[#:phases]<check>: Honour
    tests.
---
 gnu/packages/emacs-xyz.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9c23c69f79..30f924a3fb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27793,10 +27793,12 @@ files are easily readable and they work nicely with 
version control systems.")
                  (install-file "octicons.ttf" fonts)
                  (install-file "weathericons.ttf" fonts)))))
          (replace 'check
-           (lambda* (#:key outputs #:allow-other-keys)
-             (apply invoke "ert-runner" "-l"
-                    (append (find-files "data" "\\.el")
-                            '("all-the-icons-faces.el"))))))))
+           (lambda* (#:key tests? outputs #:allow-other-keys)
+             (if tests?
+                 (apply invoke "ert-runner" "-l"
+                        (append (find-files "data" "\\.el")
+                                '("all-the-icons-faces.el")))
+                 (format #t "test suite not run~%")))))))
     (native-inputs
      (list emacs-f emacs-ert-runner))
     (propagated-inputs



reply via email to

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