From unknown Sun Jun 15 08:38:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53868 <53868@debbugs.gnu.org> To: bug#53868 <53868@debbugs.gnu.org> Subject: Status: [PATCH] gnu: clojure-data-xml: Fix test suite Reply-To: bug#53868 <53868@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:38:01 +0000 retitle 53868 [PATCH] gnu: clojure-data-xml: Fix test suite reassign 53868 guix-patches submitter 53868 Ryan Sundberg severity 53868 normal tag 53868 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 00:28:58 2022 Received: (at submit) by debbugs.gnu.org; 8 Feb 2022 05:28:58 +0000 Received: from localhost ([127.0.0.1]:44741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHJ3h-0000Mh-QW for submit@debbugs.gnu.org; Tue, 08 Feb 2022 00:28:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:53298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHJ3g-0000MZ-1s for submit@debbugs.gnu.org; Tue, 08 Feb 2022 00:28:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHJ3f-0004sq-Om for guix-patches@gnu.org; Tue, 08 Feb 2022 00:28:55 -0500 Received: from mail.arctype.co ([138.68.9.245]:59295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHJ3d-0002UI-RC for guix-patches@gnu.org; Tue, 08 Feb 2022 00:28:55 -0500 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 0D46F13B136; Tue, 8 Feb 2022 05:28:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=arctype.co; s=mail; t=1644298101; bh=rOkxxlQ22qZ/4mWnsKZ+yJN6+KIJIPB2ysVs8hAJVd0=; h=From:To:Cc:Subject:Date:From; b=JovSoW/qLGHZ3Du75IvyWNLWnyPwlr0qlygRba2bZJNPeg192fv7Pkxeyl+AbbCIt 5YNaKojuAu/JEY7jNKF2fIY1nlXZeRmydTqrNUM+hJRR9BHkmbWX0kmxCQ0FgTJGx5 8SlQxvnDBOYmq4YefpzvNJR9OaaVLlJC9q+zxq8z691mtnh8lglNlybuUE0eTwC3q2 qd2Vj8+F1luYsY8d+76ZDRkJRrLflJEK9K8ANDzRTiy+dba9M2akmTXuNefK6Wyv3r c9ba3WCPBLAfbGOwK8eTssC2oRzJFlL4gXQ5wh++Fg14DF+1KzNUO06HRWjHVV8kr4 0qBx5DSqD8AWg== From: Ryan Sundberg To: guix-patches@gnu.org Subject: [PATCH] gnu: clojure-data-xml: Fix test suite Date: Mon, 7 Feb 2022 21:28:13 -0800 Message-Id: <20220208052813.19484-1-ryan@arctype.co> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@arctype.co; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Ryan Sundberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Removes clojurescript related tests that interfere with the JDK clojure test suite, causing it to fail. * gnu/packages/clojure.scm (clojure-data-xml)[arguments]: Add 'delete-cljs-tests phase --- gnu/packages/clojure.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 2a9ad90740..3ee4941ddb 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -441,8 +441,14 @@ (define-public clojure-data-xml (build-system clojure-build-system) (arguments '(#:source-dirs '("src/main/clojure") - #:test-dirs '("src/test/clojure") - #:doc-dirs '())) + #:test-dirs '("src/test/clojure" "src/test/resources") + #:doc-dirs '() + #:phases + (modify-phases %standard-phases + (add-before 'build 'delete-cljs-tests + (lambda _ + (delete-file "src/test/resources/clojure/data/xml/cljs_testsuite.clj") + (delete-file "src/test/clojure/clojure/data/xml/test_cljs.clj")))))) (propagated-inputs (list clojure-data-codec)) (synopsis "Clojure library for reading and writing XML data") (description "@code{data.xml} is a Clojure library for reading and writing -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 00:48:42 2022 Received: (at 53868) by debbugs.gnu.org; 8 Feb 2022 05:48:42 +0000 Received: from localhost ([127.0.0.1]:44785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHJMo-0003DC-0W for submit@debbugs.gnu.org; Tue, 08 Feb 2022 00:48:42 -0500 Received: from mail.arctype.co ([138.68.9.245]:36507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHJMl-0003Cs-57 for 53868@debbugs.gnu.org; Tue, 08 Feb 2022 00:48:39 -0500 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id DBAF913C5D7 for <53868@debbugs.gnu.org>; Tue, 8 Feb 2022 05:48:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=arctype.co; s=mail; t=1644299312; bh=uYbWJCKDmqMM3pZCIS+4C3HPjAMZswHmJaDVkP+mPaA=; h=Date:From:To:Subject:From; b=ptC7YKLpT5XQLb2023ur6fqPlYRTZmYLzcwzzjbGJDygKeXFE26BTVaQR5ClgdYun mYfvdhG8tfYoddxFCYX9GUDH+muHNfz+Cu32w/SrD9H/QSDySkwdrR2/WW+O+Lmcdk z/qCEpGeNY6Hy2QI610mKZCvAqaIjcEdFljNYVV0YkWCnDd6ygNV4Pteex+XX5IIo1 TK0D0DC+ol9kJ15EJY+3rTGfaqN1joq8WmsSjfH1Xyx7U23lLXOeqq8pIMHTW2Ztvk Jr+ukjzSqVNrmSkOnfzoNJoDa546iF0UcFWnnR5ElbP80MQobeY8PWCWs6ZkOYewyg FCQQA76B2SR+A== MIME-Version: 1.0 Date: Mon, 07 Feb 2022 21:48:32 -0800 From: ryan@arctype.co To: 53868@debbugs.gnu.org Subject: Duplicate of bug 53860 Message-ID: X-Sender: ryan@arctype.co Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53868 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This patch is a duplicate of https://debbugs.gnu.org/cgi/bugreport.cgi?bug=53860 with a different approach that only disables the specific failing tests. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 05:53:32 2022 Received: (at 53868-done) by debbugs.gnu.org; 8 Feb 2022 10:53:32 +0000 Received: from localhost ([127.0.0.1]:45525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHO7n-0002xO-Ou for submit@debbugs.gnu.org; Tue, 08 Feb 2022 05:53:31 -0500 Received: from lepiller.eu ([89.234.186.109]:46966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHO7j-0002x9-GX for 53868-done@debbugs.gnu.org; Tue, 08 Feb 2022 05:53:30 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2f5392d3; Tue, 8 Feb 2022 10:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=/xKJmEClI1nB bwJnHrLO2si046OeW3ctX/rXe+SHTu4=; b=CtdUjhLoKMhG6mkxMVCfz17otwHM R3q1cXxJ3/QqVWBQo5KF8DFEBwY4bhrBdoKhlOduAn3hD2NPA6bHKUMQ+CiUwCdQ odwvViW7k6XJladxVc6pDRBoWqsFS3cEroekuO50LIYt2WpSCz2jIeMmTs0/6Quk GotNFHMmVAyxjcmmNHWRZU2WdLE6VYd0qR4ZaJjZ7yXjE2baC8giuFRSbvhZqPRs xxb/9oekCzJf35B6Vrv9errYuTmZ31kwPneTpuR4w7Nk4biX2Iro5fHkoecwFZfd qdTyjEA+I1GoG07w4RTMPnbUf5IZ81w9nXFdAOnojVVbSuI6btBiixKSgg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 286c55d0 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 8 Feb 2022 10:53:25 +0000 (UTC) Date: Tue, 8 Feb 2022 11:53:19 +0100 From: Julien Lepiller Subject: Re: [bug#53868] [PATCH] gnu: clojure-data-xml: Fix test suite Message-ID: <20220208115319.16d6fbdc@tachikoma.lepiller.eu> In-Reply-To: <20220208052813.19484-1-ryan@arctype.co> References: <20220208052813.19484-1-ryan@arctype.co> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Le Mon, 7 Feb 2022 21:28:13 -0800, Ryan Sundberg via Guix-patches via a écrit : > Removes clojurescript related tests that interfere with the JDK > clojure test suite, causing it to fail. > > * gnu/packages/clojure.scm (clojure-data-xml)[arguments]: Add > 'delete-cljs-tests phase [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 MISSING_HEADERS Missing To: header -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 53868-done Cc: Ryan Sundberg , 53868-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Le Mon, 7 Feb 2022 21:28:13 -0800, Ryan Sundberg via Guix-patches via a =C3=A9crit : > Removes clojurescript related tests that interfere with the JDK > clojure test suite, causing it to fail. >=20 > * gnu/packages/clojure.scm (clojure-data-xml)[arguments]: Add > 'delete-cljs-tests phase > --- > gnu/packages/clojure.scm | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) >=20 > diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm > index 2a9ad90740..3ee4941ddb 100644 > --- a/gnu/packages/clojure.scm > +++ b/gnu/packages/clojure.scm > @@ -441,8 +441,14 @@ (define-public clojure-data-xml > (build-system clojure-build-system) > (arguments > '(#:source-dirs '("src/main/clojure") > - #:test-dirs '("src/test/clojure") > - #:doc-dirs '())) > + #:test-dirs '("src/test/clojure" "src/test/resources") > + #:doc-dirs '() > + #:phases > + (modify-phases %standard-phases > + (add-before 'build 'delete-cljs-tests > + (lambda _ > + (delete-file > "src/test/resources/clojure/data/xml/cljs_testsuite.clj") > + (delete-file > "src/test/clojure/clojure/data/xml/test_cljs.clj")))))) > (propagated-inputs (list clojure-data-codec)) (synopsis "Clojure > library for reading and writing XML data") (description > "@code{data.xml} is a Clojure library for reading and writing Thanks for the patch, pushed to master as 6d357541021578914eba7bb33d2529a6744de36d. From unknown Sun Jun 15 08:38:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 08 Mar 2022 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator