From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KJprGJg1FWFS7gAAgWs5BA (envelope-from ) for ; Thu, 12 Aug 2021 16:52:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gPf7E5g1FWFZOgAAbx9fmQ (envelope-from ) for ; Thu, 12 Aug 2021 14:52:08 +0000 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 D0B942CFB9 for ; Thu, 12 Aug 2021 16:52:07 +0200 (CEST) Received: from localhost ([::1]:44402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEC3y-0008Ed-Eh for larch@yhetil.org; Thu, 12 Aug 2021 10:52:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEC3u-0008EI-Mt for guix-patches@gnu.org; Thu, 12 Aug 2021 10:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEC3u-0005Ye-Gf for guix-patches@gnu.org; Thu, 12 Aug 2021 10:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEC3u-000259-FK for guix-patches@gnu.org; Thu, 12 Aug 2021 10:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49981] wip: Introduce unit-tests. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Aug 2021 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49981 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Christopher Baines Cc: 49981@debbugs.gnu.org Received: via spool by 49981-submit@debbugs.gnu.org id=B49981.16287798697891 (code B ref 49981); Thu, 12 Aug 2021 14:52:02 +0000 Received: (at 49981) by debbugs.gnu.org; 12 Aug 2021 14:51:09 +0000 Received: from localhost ([127.0.0.1]:39601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEC33-00023D-IY for submit@debbugs.gnu.org; Thu, 12 Aug 2021 10:51:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEC2y-00022g-RB for 49981@debbugs.gnu.org; Thu, 12 Aug 2021 10:51:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39730) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEC2t-0004sR-G9; Thu, 12 Aug 2021 10:50:59 -0400 Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=44562 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEC2t-0003D3-5k; Thu, 12 Aug 2021 10:50:59 -0400 From: Mathieu Othacehe References: <87o8a5734b.fsf@gnu.org> <87im0di2t1.fsf@cbaines.net> Date: Thu, 12 Aug 2021 16:50:56 +0200 In-Reply-To: <87im0di2t1.fsf@cbaines.net> (Christopher Baines's message of "Tue, 10 Aug 2021 19:15:38 +0100") Message-ID: <87a6lm3een.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628779928; 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: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; bh=2SiVC5X/rJFc4CGs2tNsbIOhAxaheVRH3nxmDVKxi1w=; b=a+G8f6P8plwIWOiDDIWUNuDWAr0pCjiCjftRCB0X416Kerzh1MNJLAScyqqOwQ7vorNRqI kK+jCGDIfdsZ76NaTRXctsIhF6uezpWShuP46b0IFMeV1+EU/IoNlDNLQOH9xr+QI9eQTT ufHPO6H3XHZsV66DEyqZER8gD54qoEIZUde7XAibrs1zseFFPDiKq38sUPS3Ldjdi82txs VGNXjTY0wUA0p2J/JmFr+mhqD6D9hfAbNXepjD8EN5hwj1EfPwK08DBoxxsoW19BgI8dBX FN0b4V6tt++5yC7eCtIdeIzJKBhuyzA3ymxval1D1mjYo3kBY25HS34KrZ2LPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628779928; a=rsa-sha256; cv=none; b=KieMArCLnWnzI7xM6T9qQdgE64G/vZptyKEDWemC8TG2aFPO4tjKe7SFJ1qYp3wXUZd0a2 1sZHcX1emtPsoX7GPr2dGHURT8fnxZqdzGEcOBzvN6M3iMKOF8gyT42wljCt8c+yEoO+5E OcXsrdrmCzZpbTtb+rNl4S7eioM5Aatlxk9g9PF1UwC65TmNOnwZk2YTAhoXbT6XQL1S21 MuKdQKtqSUlRJZucnpw/JJSf4tilcn/1MQf5fywv5VDYgEEaoMkPdIYwPSVggUoF+keVeJ XgHd9KhKPhHpRfYiShsDX4PGjew7qjHYWArbeOtkaNCJ798YIQ4bhAVQeQzBMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D0B942CFB9 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: OX5HVqWErsS3 Hello Chris, > Converting the tests themselves in to things that have to be put in the > store to be run could make local development harder, and is a step > towards making guix harder to package and distribute. As an example, it > would probably be possible for the Debian package to continue running > the tests, but I'd expect that having to run a guix-daemon just to be > able to setup for the tests will make running them more difficult. That's a valid objection. Regarding the "current-guix" package, it builds the unit tests as a whole and it would be hard to extract precisely the result of each individual test. As almost everything else in Guix is somehow a derivation, it would be easier for Cuirass to deal with the unit tests under that format. Maybe we would need to find a way to be able to run them under the actual form, as well as under a derivation format. This needs more thoughts though, so I'll put that on hold. Thanks for the feedback, Mathieu