Subject: [bug#77131] [PATCH 25/51] gnu: emacs-lsp-ui: Disable tests.

From: Nicolas Graves <[email-masked]>
Date: Thu, 20 Mar 2025 11:08:33 +0100

* gnu/packages/emacs-xyz.scm (emacs-lsp-ui)
[arguments]{test-command}: Set it.
[native-inputs]: Add emacs-ert-runner, emacs-rustic.
---
 gnu/packages/emacs-xyz.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dac0ac3dfa..3278fc9fc6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33557,6 +33557,16 @@ (define-public emacs-lsp-ui
                (base32
                 "162bxyhiqz4saxvh6n3sdb9hx7px5wpy45wbfg5aiqzlqwgqyg42"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command
+           #~(apply list "ert-runner" "-L" "."
+                    "-t" "'!no-win'" "-t" "'!org'"
+                    (apply append
+                           (map
+                            (lambda (file)
+                              (list "-l" file))
+                            (find-files "test" "\\.el"))))))
+    (native-inputs (list emacs-ert-runner emacs-rustic))
     (propagated-inputs
      (list emacs-dash emacs-lsp-mode emacs-markdown-mode emacs-flycheck))
     (home-page "https://github.com/emacs-lsp/lsp-ui")
-- 
2.48.1