gnu: emacs-citar: Run tests.

* gnu/packages/emacs-xyz.scm (emacs-citar)[arguments]: Run tests.
This commit is contained in:
Nicolas Goaziou 2023-03-15 23:31:47 +01:00
parent 179eaf02c4
commit 9b12dd9dda
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -21782,10 +21782,17 @@ (define-public emacs-citar
"186h6wbjwh7ws3jmc81wx2cv7gbppl2j3gwdq67crhml5xjc4fh7"))))
(build-system emacs-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-before 'build 'set-home
(lambda _
(setenv "HOME" "/tmp"))))))
(list
#:tests? #true
#:test-command #~(list "emacs" "--batch" "-L" "."
"-l" "test/citar-test.el"
"-l" "test/citar-file-test.el"
"-l" "test/citar-format-test.el"
"-f" "ert-run-tests-batch-and-exit")
#:phases #~(modify-phases %standard-phases
(add-before 'build 'set-home
(lambda _
(setenv "HOME" "/tmp"))))))
(propagated-inputs (list emacs-auctex
emacs-citeproc-el
emacs-embark