From patchwork Thu Mar 20 10:08:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40512 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 1D73427BBEA; Thu, 20 Mar 2025 10:14:01 +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 D37F827BBE2 for ; Thu, 20 Mar 2025 10:14:00 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvCtu-0000Nb-MZ; Thu, 20 Mar 2025 06:13:22 -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 1tvCtf-0000ER-Hu for guix-patches@gnu.org; Thu, 20 Mar 2025 06:13:09 -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 1tvCtb-00024C-JC for guix-patches@gnu.org; Thu, 20 Mar 2025 06:13:05 -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=86ZIgCNVfLaABjY20nMLtpQVpeb2bB+NCPS1zIpW/9U=; b=C2EheJ/joYIN5ujnH9LjA+UAO1EJy03h3l0pbc6HgijMXK1SmH/F15TVeFjqP1kp571PguNrkdqF4vbgaESip7QZmjWhJ6RqLC42pDH7X7B4eDucs3tfjnUyF7LqhgEanRXnJsTQYOp9Wmhpk9tMsa1jzFO8vHD34LasSQhlZ7u00NYfL48SwzcVganEhwdyRwwBiRs3OLbegbPmQGsQZ6SnHJ1mOjbMzuZs4+o5aJdHI8NOOUadqaN9AasgfgiaBlSXxj3IevzTE5o3Iy2G5cktczOcCijVYzPOHl8c5PPJIQZKSXosqw4mZgvMdOHlPencRbbmGMetP2zSC2aBbg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvCtb-0002bE-CB for guix-patches@gnu.org; Thu, 20 Mar 2025 06:13:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77131] [PATCH 45/51] gnu: emacs-racket-mode: Fix tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Mar 2025 10:13:03 +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.17424655409874 (code B ref 77131); Thu, 20 Mar 2025 10:13:03 +0000 Received: (at 77131) by debbugs.gnu.org; 20 Mar 2025 10:12:20 +0000 Received: from localhost ([127.0.0.1]:55473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvCst-0002ZA-EJ for submit@debbugs.gnu.org; Thu, 20 Mar 2025 06:12:19 -0400 Received: from 6.mo562.mail-out.ovh.net ([46.105.48.43]:51653) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tvCqT-0002Hm-H1 for 77131@debbugs.gnu.org; Thu, 20 Mar 2025 06:09:50 -0400 Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net [79.137.60.36]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsm3sCHz1gqN; Thu, 20 Mar 2025 10:09:48 +0000 (UTC) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net. [127.0.0.1]) by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77131@debbugs.gnu.org>; Thu, 20 Mar 2025 10:09:48 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.2.31]) by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZJLsm3Tfyzy62; Thu, 20 Mar 2025 10:09:48 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 1846CC38C1; Thu, 20 Mar 2025 10:09:48 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-95G0015aaec842-bc2e-4ecb-a2cb-f072889ebc47, 4F160D40D8CAC2A3A770F4A5EC3EDE71EC7A5460) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Thu, 20 Mar 2025 11:08:53 +0100 Message-ID: <20250320100907.20485-45-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: 16819818709262590690 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugeejleefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleeuteetheffffegjeeihfejudduffdtveevleegieeufefffedvheeuieegtdejnecuffhomhgrihhnpehrrggtkhgvthdqmhhouggvrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjedufeduseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=86ZIgCNVfLaABjY20nMLtpQVpeb2bB+NCPS1zIpW/9U=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1742465388; v=1; b=39Ydn3BfQx/s2q+vLZ/bL/GRHdbKRlxQqdW4f739JHLMplnQBZiBl73Fw56Qg6Bn0/fXnJdY egmyjgIaOozvVsIOWPGKMVOOQWuCgYd9nvUmY55CfleVcaGXIlUveqpXmyBKCVyn8uw6V9fy8/l VncXbytvkO/sujpynitJOYG/W/6wdAsiy5xDCBPQH3E+CNgBoV1SLlILCx9K6CnH/1uvDA10NsU MDloKt3QJ1jV6TNECUJWSix7A6OOtbu3bdzqDafsnXmtKXp57LP16wfUvLDvgRoepn7rvUwbwJL bF8MELsxKOxhWh2EeDsiXK7jb7IrZgnqVR4wPZSHBNu3A== 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-racket-mode) [arguments]{test-command}: Set it. {phases}: Add phase 'pre-check and skip failing tests. --- gnu/packages/emacs-xyz.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ac254be614..a31809a61f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -28089,7 +28089,18 @@ (define-public emacs-racket-mode (build-system emacs-build-system) (arguments (list - #:include #~(list "\\.el$" "\\.rkt$"))) + #:include #~(list "\\.el$" "\\.rkt$") + #:test-command #~(list "make" "test") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" (dirname (getcwd))) + (substitute* "test/racket-tests.el" + (("\\(ert-deftest racket-tests/(repl|run) .*" all) + (string-append all "(skip-unless nil)")))))))) + (native-inputs + (list racket)) (propagated-inputs (list emacs-faceup emacs-paredit emacs-pos-tip emacs-s)) (home-page "https://www.racket-mode.com/")