diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-03-15 23:31:47 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-03-16 00:10:54 +0100 |
commit | 9b12dd9ddaf71afe6b37e92dc5715feb99d5a9c6 (patch) | |
tree | 48019e4b4682fbd01dada3bfb2acfa01abf25982 /gnu/packages | |
parent | 179eaf02c4a51e0a5e8d4946ddffa545d59f21fb (diff) | |
download | guix-9b12dd9ddaf71afe6b37e92dc5715feb99d5a9c6.tar.gz guix-9b12dd9ddaf71afe6b37e92dc5715feb99d5a9c6.zip |
gnu: emacs-citar: Run tests.
* gnu/packages/emacs-xyz.scm (emacs-citar)[arguments]: Run tests.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index dc5baf71c0..e8f0bf8d12 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21782,10 +21782,17 @@ automatically fetched from well-curated sources, and formatted as BibTeX.") "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 |