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 28/51] gnu: emacs-ripgrep: Fix tests.
Date: Thu, 20 Mar 2025 11:08:36 +0100
* gnu/packages/emacs-xyz.scm (emacs-ripgrep)
[arguments]{test-command}: Set it.
[native-inputs]: Add emacs-ert-runner.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f2d611e89c..dfd4945880 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7926,15 +7926,16 @@ (define-public emacs-ripgrep
         (base32 "1a5rdpmvsgsjlc9sywism9pq7jd6n9qbcdsvpbfkq1npwhpifkbj"))))
     (build-system emacs-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; The repository contains both ripgrep and projectile-ripgrep
-         ;; packages. The latter has been merged into projectile itself.
-         (add-after 'unpack 'delete-projectile-ripgrep
-           (lambda _
-             (delete-file "projectile-ripgrep.el"))))))
-    (propagated-inputs
-     (list ripgrep))
+     (list #:test-command #~(list "ert-runner")
+           #:phases
+           #~(modify-phases %standard-phases
+               ;; The repository contains both ripgrep and projectile-ripgrep
+               ;; packages. The latter has been merged into projectile itself.
+               (add-after 'unpack 'delete-projectile-ripgrep
+                 (lambda _
+                   (delete-file "projectile-ripgrep.el"))))))
+    (native-inputs (list emacs-ert-runner))
+    (propagated-inputs (list ripgrep))
     (home-page "https://github.com/nlamirault/ripgrep.el")
     (synopsis "Search using ripgrep from inside Emacs")
     (description "@code{ripgrep} is an Emacs search package based on the
@@ -33236,7 +33237,9 @@ (define-public emacs-dap-mode
         (base32 "177ira42l1p7zjb24c0vp4biip9sczlvbgzfahp4mhgfd9h8a6bx"))))
     (build-system emacs-build-system)
     (arguments
-     (list #:include #~(cons* "\\.png$" %default-include)))
+     (list #:include #~(cons* "\\.png$" %default-include)
+           #:test-command #~(list "ert-runner" "-L" ".")))
+    (native-inputs (list emacs-ert-runner))
     (propagated-inputs
      (list emacs-bui
            emacs-lsp-docker
-- 
2.48.1





This bug report was last modified 55 days ago.

Previous Next


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