[bug#77131,14/51] gnu: emacs-flycheck-grammalecte: Disable tests.

Message ID 20250320100907.20485-14-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-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(+)
  

Patch

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