Subject: [PATCH 14/51] gnu: emacs-flycheck-grammalecte: Disable tests.

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

* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte)
[arguments]{tests?}: Disable them, since they require being run from a
tty.
---
 gnu/packages/emacs-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f6690ce787..1ea5fe6aa1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9580,6 +9580,9 @@ (define-public emacs-flycheck-grammalecte
      (list
       #:include #~(cons "\\.py$" %default-include)
       #:emacs emacs-no-x                ;need libxml support
+      #:tests? #f  ; Tests require a tty.
+      #:test-command
+      #~(list "emacs" "-l" "test-home/classic.el" "example.org")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'specify-python-location
-- 
2.48.1