GNU bug report logs - #77131
[PATCH emacs-team 00/51] Some test fixes.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 20 Mar 2025 09:25:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77131 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#77131] [PATCH 51/51] gnu: emacs-pass: Disable tests.
Date: Thu, 20 Mar 2025 11:08:59 +0100
* gnu/packages/emacs-xyz.scm (emacs-pass)
[arguments]{tests?}: Disable them.
---
 gnu/packages/emacs-xyz.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 96d81cf0dd..82890dfc70 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24846,6 +24846,15 @@ (define-public emacs-pass
        (sha256
         (base32 "0jc8j421mlflspg24jvrqc2n3y5n3cpk3hjy560il8g36xi1049p"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f  ; Tests require a tty.
+           #:test-command
+           #~(apply list "emacs"
+                    (append
+                     (apply append
+                            (map (lambda (file) (list "-l" file))
+                                 (find-files "." "\\.el")))
+                     (list "-f" "ert-run-tests-batch-and-exit")))))
     (propagated-inputs
      (list emacs-password-store emacs-f))
     (home-page "https://github.com/NicolasPetton/pass")
-- 
2.48.1





This bug report was last modified 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.