From unknown Fri Aug 15 15:36:46 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#53291 <53291@debbugs.gnu.org> To: bug#53291 <53291@debbugs.gnu.org> Subject: Status: [PATCH] build: clojure-build-system: Exit with non-zero if tests fail. Reply-To: bug#53291 <53291@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:36:46 +0000 retitle 53291 [PATCH] build: clojure-build-system: Exit with non-zero if te= sts fail. reassign 53291 guix-patches submitter 53291 Reily Siegel severity 53291 normal tag 53291 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 15 20:04:20 2022 Received: (at submit) by debbugs.gnu.org; 16 Jan 2022 01:04:20 +0000 Received: from localhost ([127.0.0.1]:42243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8ty0-00029V-Ec for submit@debbugs.gnu.org; Sat, 15 Jan 2022 20:04:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:42170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8txw-00029J-0q for submit@debbugs.gnu.org; Sat, 15 Jan 2022 20:04:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8txv-0005HW-Rk for guix-patches@gnu.org; Sat, 15 Jan 2022 20:04:15 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]:21526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1n8txt-0005hv-Uj for guix-patches@gnu.org; Sat, 15 Jan 2022 20:04:15 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4Jbxd33FLnzQk9k for ; Sun, 16 Jan 2022 02:04:07 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1642295045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=PwrS56NT5uq6zXx8V0Zd1B5nOWERDUPkdeF3cwyWwpE=; b=nV3IwstpL8Bbm3sh8BmD7tWXvHMj3eYDlGQ96WEwK8gocPZfI5s/B5MuQRexzQwQFsA8Os svrN1F467mdwylAubRSZQMoN2OiBqC/c8c4762mIV2mx4c5Ym2hzfftBrTjgpk0j31kexE iduvejeUp8PKbZwH7DeZAHWkJdxmdyRTUOS5YYZGTJhdPwxuEOwcl5NManwd7ISZmJAjuj ceWegW5cy+7bnNBv+/2wMMDh89ubdLT0yX2TjoubmiI+oHwoY0VwPWGKYhzCHDEFKelOTU d6alYNXv8hFTNKdY8w/KPmr8579yQmdfvJ2/Up0R9y0Qwuhl5aOp0IoaPduAAw== From: Reily Siegel To: guix-patches@gnu.org Subject: [PATCH] build: clojure-build-system: Exit with non-zero if tests fail. Date: Sat, 15 Jan 2022 20:03:25 -0500 Message-ID: <87sftoijaa.fsf@reilysiegel.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=80.241.56.161; envelope-from=mail@reilysiegel.com; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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.6 (--) * guix/build/clojure-build-system.scm (check): Exit test process with a non-zero exit code if tests fail. --- guix/build/clojure-build-system.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/guix/build/clojure-build-system.scm b/guix/build/clojure-build-system.scm index 91d6122afe..22e90581a5 100644 --- a/guix/build/clojure-build-system.scm +++ b/guix/build/clojure-build-system.scm @@ -99,8 +99,11 @@ (define* (check #:key (for-each (lambda (jar) (eval-with-clojure `(do (apply require '(clojure.test ,@libs*)) - (apply clojure.test/run-tests - ',libs*)) + (if (clojure.test/successful? + (apply clojure.test/run-tests + ',libs*)) + (System/exit 0) + (System/exit 1))) (cons jar test-dirs))) jar-names))) #t) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 24 04:11:30 2022 Received: (at 53291-done) by debbugs.gnu.org; 24 Jan 2022 09:11:30 +0000 Received: from localhost ([127.0.0.1]:42042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBvNq-00030R-4l for submit@debbugs.gnu.org; Mon, 24 Jan 2022 04:11:30 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:41776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBvNo-000309-8Z for 53291-done@debbugs.gnu.org; Mon, 24 Jan 2022 04:11:28 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DF09E8B; Mon, 24 Jan 2022 10:11:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zGGhgteenafA; Mon, 24 Jan 2022 10:11:22 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2D0923E4; Mon, 24 Jan 2022 10:11:22 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Reily Siegel Subject: Re: bug#53291: [PATCH] build: clojure-build-system: Exit with non-zero if tests fail. References: <87sftoijaa.fsf@reilysiegel.com> Date: Mon, 24 Jan 2022 10:11:21 +0100 In-Reply-To: <87sftoijaa.fsf@reilysiegel.com> (Reily Siegel's message of "Sat, 15 Jan 2022 20:03:25 -0500") Message-ID: <87y235wlae.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: DF09E8B X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53291-done Cc: 53291-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.0 (/) Hi, Reily Siegel skribis: > * guix/build/clojure-build-system.scm (check): Exit test process with a > non-zero exit code if tests fail. Applied, thanks! Ludo=E2=80=99. From unknown Fri Aug 15 15:36:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Feb 2022 12:24:17 +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