From 9b12dd9ddaf71afe6b37e92dc5715feb99d5a9c6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 15 Mar 2023 23:31:47 +0100 Subject: gnu: emacs-citar: Run tests. * gnu/packages/emacs-xyz.scm (emacs-citar)[arguments]: Run tests. --- gnu/packages/emacs-xyz.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3