Subject: [bug#76686] [PATCH emacs-team 05/45] gnu: emacs-list-utils: Provide test command.

From: Liliana Marie Prikler <[email-masked]>
Date: Sun, 2 Mar 2025 12:04:47 +0100

* gnu/packages/emacs-xyz.scm (emacs-list-utils)[arguments]: Add #:test-command.
---
 gnu/packages/emacs-xyz.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 81351838e1c..1feab918362 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25977,6 +25977,13 @@ (define-public emacs-list-utils
                (base32
                 "0rc7ql78qraa35lv6igkd81j5ap9zgn6ri9rp9cajp86s2b46dg6"))))
     (build-system emacs-build-system)
+    (arguments (list #:test-command
+                     #~(list "emacs" "--batch" "-L" "." "-L" "ert-tests"
+                             "-l" "cl-macs" "-l" "ert" "-l" "list-utils-test"
+                             "--eval"
+                             "(progn (fset 'ert--print-backtrace 'ignore)
+                                     (ert-run-tests-batch-and-exit
+                                        '(not (tag :interactive))))")))
     (home-page "https://github.com/rolandwalker/list-utils")
     (synopsis "List-manipulation utility functions")
     (description
-- 
2.48.1