From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gLuUEdTKTmOHYQEAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 17:48:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SC+lENTKTmO6ZAEAG6o9tA (envelope-from ) for ; Tue, 18 Oct 2022 17:48:36 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 151073D467 for ; Tue, 18 Oct 2022 17:48:36 +0200 (CEST) Received: from localhost ([::1]:57238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okopV-0004lo-KP for larch@yhetil.org; Tue, 18 Oct 2022 11:48:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okon5-0004ie-VM for guix-patches@gnu.org; Tue, 18 Oct 2022 11:46:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okon4-0002p2-1A for guix-patches@gnu.org; Tue, 18 Oct 2022 11:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okon3-0002DU-Jp for guix-patches@gnu.org; Tue, 18 Oct 2022 11:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58365] [PATCH 0/6] Support #:tests? in guile-build-system Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Oct 2022 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58365 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 58365@debbugs.gnu.org Received: via spool by 58365-submit@debbugs.gnu.org id=B58365.16661079275004 (code B ref 58365); Tue, 18 Oct 2022 15:46:01 +0000 Received: (at 58365) by debbugs.gnu.org; 18 Oct 2022 15:45:27 +0000 Received: from localhost ([127.0.0.1]:53844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okomU-0001I7-Te for submit@debbugs.gnu.org; Tue, 18 Oct 2022 11:45:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okomR-0000tC-EK for 58365@debbugs.gnu.org; Tue, 18 Oct 2022 11:45:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okomM-0002XQ-1R; Tue, 18 Oct 2022 11:45:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=pf/y/q41nq34+IRoOaNdh1YzQQ+VBE5e4LCeUVizGes=; b=BtYxF8DM91+4fWeGl+wl +LRwdbMzkoVHPwXgIpojfIvz0bC1sXuHONm0qgURk2EhilVGd2VBLd8K5EXIYc4HlJx+/EpMvxmS5 NmMowtrw1JkJO2u3LNvTGwE5sb9ow7YzPOYWQPSi5ibBdweBnJELpnK+758rU63jLjZpggux4KEqj iMj40Qgba3Ec0sOk3rb7GFQvq3auSgtRoaClhHwoZ0Ddom+0Cyb9GKgQw2ajIZS+EaBDl/zBijMS3 L2+pXXC9tDjfOVifF501Ivrv8JUua5vV+F/8wpYbBlMqZDkPCCLWxQ9fqddEsEGS3DhCJeQ5yY+IA 2AZfvP0R28iJZg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=51494 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okom5-0001FS-BG; Tue, 18 Oct 2022 11:45:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20221007205352.1282-1-maximedevos@telenet.be> <87sfjlnw9r.fsf_-_@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 27 =?UTF-8?Q?Vend=C3=A9miaire?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Piment X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 18 Oct 2022 17:44:55 +0200 In-Reply-To: (Maxime Devos's message of "Tue, 18 Oct 2022 15:30:56 +0200") Message-ID: <878rldkufc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666108116; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pf/y/q41nq34+IRoOaNdh1YzQQ+VBE5e4LCeUVizGes=; b=g3V20jMcLv6m1Cx1x7oGGECYXst184XfP7V1wHyDk9QGhDmrlVhV2byCTmUXHnBWY0YB9+ 3Qa5GTHj0HTfMA+THuZAHWMAUBoL0ciJV4Rbu6Monu/hnVWv/QjsHm/VD+UQfUFVXE7p3M 20bBTBlf32TyHJvi2oG0CdXpYaeNlPBtvD95PhMphHp8LW8P8bReN6T/08pJ16iaAmR/da oFRYti0Qy+sX1ikIkldSi5ytMNJ/OMgXdUcXi0xmJ2HHH1RUheqZou2NaSPB6SLyQdZYWv 0G1roFZm9+bY3ww5Mevg1rn985+fPbJ7IkNoiR1AL0i9f6Ziv8ZDMjPEqslCZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666108116; a=rsa-sha256; cv=none; b=fSEoctVJ13v7K6KOBsJ19nSuU5UKpaopWCrICyepI/n3JohVky8TZqMbL1057RDQiLpEt0 zR0zt3R3XpvzYbHpI5Rr6Ct26dyVgxGgVB3A6SXS//1xxGBhlSTb46eHvSZbzyrD7uLJqU ghY/EGugwvVQLhb2g2hldE73ZA0h95wDmFs/odyxN/8Au/D6mWpv0vUJDXnlh/Dbut/9HM sE3Z/pW6AEm3iLntTSbRkM8R1/jFnZE93LdY2TE6KcWaHTHIlqr6/Zd9oUy6Tr+14nSds/ sIXTEncD9O4NI9lu8el7NUprn/u+yczFI2sqgSmtFjhjmVTtVA0DEijIrS6CLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BtYxF8DM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BtYxF8DM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 151073D467 X-Spam-Score: -3.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: vwiIiruTF3NH Hi Maxime, That=E2=80=99s quite a wall of text that you sent. :-) Let me try to clarify what I think can be a fruitful way forward. Again, I agree with the goal you have here, I=E2=80=99m just proposing a different strategy. To me, the problem that we have is lack of a standard way to run tests in Guile packages that don=E2=80=99t use Autotools. That, in turn, leads to duplication in package definitions=E2=80=94whether it=E2=80=99s =E2=80=98ch= eck=E2=80=99 phases in Guix or something similar in Debian and other distros. Instead of addressing it downstream (in Guix), my suggestion would be to address it upstream=E2=80=94that is, to promote one way to run SRFI-64 test suites, for example with a new =E2=80=9Cguild test=E2=80=9D command. That =E2=80=9Cguild test=E2=80=9D command would probably be very similar to =E2=80=98build-aux/test-driver.scm=E2=80=99. As you note, this script is b= attle-tested and provides useful functionality. If we would turn it into a (scripts test) module, that =E2=80=98guild=E2=80=99 would pick up, then we=E2=80=99d= have a good start. With proper documentation, programmers who use Guile would have an incentive to use this method; packagers would benefit because the default =E2=80=98check=E2=80=99 phase would boil down to invoking =E2=80=9C= guild test=E2=80=9D. I hope this clarifies my proposal. WDYT? Thanks, Ludo=E2=80=99.