From patchwork Thu Mar 20 10:08:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40470 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D72C727BBE9; Thu, 20 Mar 2025 10:11:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5C1BA27BBE2 for ; Thu, 20 Mar 2025 10:11:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvCrJ-0005vm-80; Thu, 20 Mar 2025 06:10:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tvCqy-0005nV-IJ for guix-patches@gnu.org; Thu, 20 Mar 2025 06:10:22 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tvCqx-0001JN-Nh for guix-patches@gnu.org; Thu, 20 Mar 2025 06:10:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=EqK8O2H8eIerVRm/NUilM2bLOHyz2AcfkU0OnCMe/cM=; b=iKpBm7VBG0CnnqwIP8GcYs971HjO/SDEa1msxES6t9CWp141rszV8Tx6CbCc8aCbdj2LjEAW7QVejn1zi+rKJGuhty9dCN/yZOtzy716CzKfwNYQ2DS79VPM6AdhU7ol/h6qxluiiancLm0f3bCq+/JZeZpPJ0z4Mv52dzcBObgEcVdzl/M4kmQGnwIbhqBGAcQ39jRazMY/tn/ugYbry6K+D+9TxQaQ4FzsyY5whQOAftND3POBbLlciCfKydGXaS9zRWQC1Ag5LBHQtP0QwsxKEmfkOuemro75K0WYRS5XIY2hujVgoiU2OGPbLPi1PbmDcHXYOMQGHLp7sWXgYw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvCqx-0002Sa-HV for guix-patches@gnu.org; Thu, 20 Mar 2025 06:10:19 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77131] [PATCH 28/51] gnu: emacs-ripgrep: Fix tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Mar 2025 10:10:19 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77131@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77131-submit@debbugs.gnu.org id=B77131.17424654068972 (code B ref 77131); Thu, 20 Mar 2025 10:10:19 +0000 Received: (at 77131) by debbugs.gnu.org; 20 Mar 2025 10:10:06 +0000 Received: from localhost ([127.0.0.1]:55396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvCqj-0002KM-Du for submit@debbugs.gnu.org; Thu, 20 Mar 2025 06:10:06 -0400 Received: from 10.mo563.mail-out.ovh.net ([46.105.78.6]:53681) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tvCqE-0002Dj-Sk for 77131@debbugs.gnu.org; Thu, 20 Mar 2025 06:09:35 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsT5sYcz1jCd; Thu, 20 Mar 2025 10:09:33 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77131@debbugs.gnu.org>; Thu, 20 Mar 2025 10:09:33 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.176.132]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsT54cJz82Vs; Thu, 20 Mar 2025 10:09:33 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 496C92638BF; Thu, 20 Mar 2025 10:09:33 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-105G0067a6d8cab-fdc9-4c33-81f5-32ca2b2edb12, 4F160D40D8CAC2A3A770F4A5EC3EDE71EC7A5460) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Thu, 20 Mar 2025 11:08:36 +0100 Message-ID: <20250320100907.20485-28-ngraves@ngraves.fr> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250320100907.20485-1-ngraves@ngraves.fr> References: <20250320100907.20485-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 16815596587924644578 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugeejleefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpeehnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejudefudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=EqK8O2H8eIerVRm/NUilM2bLOHyz2AcfkU0OnCMe/cM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1742465374; v=1; b=B46lvf1sppKms5VQcLuxQWtyO7aauggvzMJrVxAl4Z1TGbYM5s1XH4SxQy4tRP2VbsW9lXud 3Fki9e0Bdk2UTlYGxaRpdRWWUm5J1Ueu8qD/8Or1CPoVhqw9tCtaA0ettgdbjBgkkQ6qxwR4As4 MKddh+EAz43W+Y+mW1BI8myKyfYDxrXl/ScNKijsTQmcgP1E4ezPWVjrZ8NunTfrsubfSjyqEiL A1fOcZN1XqJNkB3sl/Z+iQdd+ND9Nx2xXGsIX+9GwGMIje86LQhIKuIC6AN2yvURqrUXsxIYeBZ kM1pcrMFk0FBY4F6v9mP7upi+3PJQLB9d7en6IhUan0OA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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