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.
This commit is contained in:
Nicolas Goaziou 2022-03-02 15:09:08 +01:00
parent 8e00050de0
commit 8e2eecc67b
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

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