From 54230ad9493a01cdf38b2899f0a2f80a279fd4b8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 11 Nov 2022 11:19:16 +0100 Subject: [PATCH] gnu: emacs-org-transclusion: Run tests. * gnu/packages/emacs-xyz.scm (emacs-org-transclusion)[argument]: Run tests. [native-inputs]: Add EMACS-ERT-RUNNER. --- gnu/packages/emacs-xyz.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d30091dba2..966bd0dd4a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -16700,6 +16700,15 @@ (define-public emacs-org-transclusion (sha256 (base32 "0pjk6686ss50s9ws014if9mnixsf9m53z1d7bvkbx09lq3jqa7ry")))) (build-system emacs-build-system) + (arguments + (list + #:tests? #true + #:test-command #~(list "emacs" "--batch" + "-l" "org-transclusion.el" + "-l" "test/unit-tests.el" + "-f" "ert-run-tests-batch-and-exit"))) + (native-inputs + (list emacs-ert-runner)) (home-page "https://nobiot.github.io/org-transclusion/") (synopsis "Enable transclusion with Org Mode") (description "Org-transclusion lets you insert a copy of text content via