summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-01-27 19:21:39 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-01-27 23:00:58 +0100
commit6893d0dd45137ffd25548cdc8b213d1ab1b6c25d (patch)
tree40327f971d3dc6131dbeb315ea567cea6bfd8f7d
parent38749d1092c20fa5fd96eb5cb867434a7b3ae913 (diff)
downloadguix-6893d0dd45137ffd25548cdc8b213d1ab1b6c25d.tar.gz
gnu: emacs-emacsql: Run tests.
* gnu/packages/emacs-xyz.scm (emacs-emacsql)[arguments]: Run tests.
-rw-r--r--gnu/packages/emacs-xyz.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 38eab9a794..d7930698b0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20263,6 +20263,12 @@ object has been freed.")
     (build-system emacs-build-system)
     (arguments
      (list
+      #:tests? #true
+      #:test-command #~(list "emacs" "-Q" "--batch"
+                             "-L" "tests"
+                             "-L" "."
+                             "-l" "tests/emacsql-tests.el"
+                             "-f" "ert-run-tests-batch-and-exit")
       #:modules '((guix build emacs-build-system)
                   (guix build utils)
                   (guix build emacs-utils)