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

Message ID 20250320100907.20485-25-ngraves@ngraves.fr
State New
Headers
Series [bug#77131,01/51] gnu: Add (gnu packages emacs-build) module. |

Commit Message

Nicolas Graves March 20, 2025, 10:08 a.m. UTC
  * 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(+)
  

Patch

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")