summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-11-11 11:19:16 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-11-11 11:48:10 +0100
commit54230ad9493a01cdf38b2899f0a2f80a279fd4b8 (patch)
treead7043570d0144eef7931007da864df47a038935
parent28de3f40638d1351fe64864392d4376c929eaee5 (diff)
downloadguix-54230ad9493a01cdf38b2899f0a2f80a279fd4b8.tar.gz
gnu: emacs-org-transclusion: Run tests.
* gnu/packages/emacs-xyz.scm (emacs-org-transclusion)[argument]: Run tests.
[native-inputs]: Add EMACS-ERT-RUNNER.
-rw-r--r--gnu/packages/emacs-xyz.scm9
1 files changed, 9 insertions, 0 deletions
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 @@ running tests easier.")
        (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