gnu: emacs-all-the-icons: Honour #:tests?

* gnu/packages/emacs-xyz.scm (emacs-all-the-icons)[#:phases]<check>: Honour
tests.
This commit is contained in:
Liliana Marie Prikler 2023-08-19 00:22:25 +02:00
parent 282de197e8
commit ef077b83f9
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87

View File

@ -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