From patchwork Thu Mar 20 10:08:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40491 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 4E56D27BBEA; Thu, 20 Mar 2025 10:12:13 +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=unavailable 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 B3E4F27BBEC for ; Thu, 20 Mar 2025 10:12:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvCrq-0006aF-2Q; Thu, 20 Mar 2025 06:11:14 -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 1tvCrm-0006RD-Dr for guix-patches@gnu.org; Thu, 20 Mar 2025 06:11:10 -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 1tvCrm-0001e1-3G for guix-patches@gnu.org; Thu, 20 Mar 2025 06:11:10 -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=hrkvrxcNEYOWklLtuhU5ZKjvowinvioKufQOxt1C8TU=; b=RKujhbiVy9x/8Ws9GsFvXtqAnyvo1fQTjsLZF2EiP9HamEvfPdoGj7iwd8ZQgkxgv//f+HeGO0k1B9oZGbGKblZNxwdSp3fKwIeVpkSarl046AHBPvrOVL1yDKOI0NOjXHLr1dPDo9elKuhWRYuTuO3+h/62nhDXVMYMGufTypKMls+4HXBujVokvv8M0ahZc7Xp9i2IFwTGCfzMWLBmZqJuW7zVy45KGUO14bcckPk/RSjHj9uvpxLhgYz6V/fWLN5kNvnaz3nlsImproWlmVnvUcUZr9UEw7n+pEdxaTD5sF+TnklmugZmbGLlgoVLOqWVFCuCXzP8qKSsyM/iIw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvCrl-0002X7-Ud for guix-patches@gnu.org; Thu, 20 Mar 2025 06:11:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77131] [PATCH 42/51] gnu: emacs-cider: Fix tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Mar 2025 10:11:09 +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.17424654509615 (code B ref 77131); Thu, 20 Mar 2025 10:11:09 +0000 Received: (at 77131) by debbugs.gnu.org; 20 Mar 2025 10:10:50 +0000 Received: from localhost ([127.0.0.1]:55452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvCrS-0002Uw-Gu for submit@debbugs.gnu.org; Thu, 20 Mar 2025 06:10:50 -0400 Received: from 8.mo562.mail-out.ovh.net ([46.105.60.65]:52951) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tvCqQ-0002Gv-U7 for 77131@debbugs.gnu.org; Thu, 20 Mar 2025 06:09:47 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsj6rs7z1gNM; Thu, 20 Mar 2025 10:09:45 +0000 (UTC) Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net. [127.0.0.1]) by director4.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77131@debbugs.gnu.org>; Thu, 20 Mar 2025 10:09:45 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.9.130]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsj66J3zyDc; Thu, 20 Mar 2025 10:09:45 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.6]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 6FAECC38C1; Thu, 20 Mar 2025 10:09:45 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-113S00774da4a86-631b-4136-b516-36536865f6a8, 4F160D40D8CAC2A3A770F4A5EC3EDE71EC7A5460) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Thu, 20 Mar 2025 11:08:50 +0100 Message-ID: <20250320100907.20485-42-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: 16818974283964998370 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugeejleefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjedufeduseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=hrkvrxcNEYOWklLtuhU5ZKjvowinvioKufQOxt1C8TU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1742465386; v=1; b=y+A7XiqTpv9ugzKeSWY+bMvHqgkreFIpc9cR7BI39Da/BhfP7ryr8vICq0ZwhItLrqXRe2W3 Dn91/7lSHDgzz+DX33MmYcImO6DGtBd/YZlbtb6fMkQoTCPbYmUb+Esw4he0rf8/GBJWmT7+ck4 vZSEjUCR9K6L/mJX9Ys2rMO8W98C8O2e6eBIhfwDmDacB3QhNe9lJK7pU7cCp2yFo8B/7TMHDPk ncg580HD31dYY9LgFBpf8bnV5Go0quHJxvuEWXLSHdtAvJIElOCIy6UcGVbd4yBIFOaMKiyxIsi nIi0yfg8iniJ/1/E2RIxfuMo2A8Zah+AFJRCPgEPIwfbg== 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-cider)[arguments]: Improve style. {test-command}: Set it. {phases}: Add phase 'skip-failing-tests. --- gnu/packages/emacs-xyz.scm | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 267c4ee4b5..b9266dd437 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -17411,17 +17411,24 @@ (define-public emacs-cider (base32 "02lilk85a7h9wxxvxr6k69p12wslbl9xp3jkcbdn11078fwhif6j")))) (build-system emacs-build-system) (arguments - '(#:include (cons* "^lein\\.sh$" "^clojure\\.sh$" %default-include) - #:exclude ;don't exclude 'cider-test.el' - '("^\\.dir-locals\\.el$" "^test/") - #:phases - ;; XXX: file "test/cider-tests.el" contains a bogus "/bin/command" - ;; string, and `patch-el-files' phase chokes on it (even though the - ;; file is excluded from installation). Remove the phase altogether - ;; since there is no "/bin/executable" to replace in the code base - ;; anyway. - (modify-phases %standard-phases - (delete 'patch-el-files)))) + (list + #:include #~(cons* "^lein\\.sh$" "^clojure\\.sh$" %default-include) + #:exclude ;don't exclude 'cider-test.el' + #~(list "^\\.dir-locals\\.el$" "^test/") + #:test-command + #~(list "eldev" "--use-emacsloadpath" "-dtT" "-p" "test") + #:phases + ;; XXX: file "test/cider-tests.el" contains a bogus "/bin/command" + ;; string, and `patch-el-files' phase chokes on it (even though the + ;; file is excluded from installation). Remove the phase altogether + ;; since there is no "/bin/executable" to replace in the code base + ;; anyway. + #~(modify-phases %standard-phases + (delete 'patch-el-files) + (add-before 'check 'skip-failing-tests + (lambda _ ;; Require network. + (delete-file "test/cider-jar-tests.el")))))) + (native-inputs (list emacs-buttercup emacs-eldev)) (propagated-inputs (list emacs-clojure-mode emacs-parseedn