From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oMGIFaN8lGWNbgEAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 22:14:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6PpQEqN8lGXGRwEA62LTzQ (envelope-from ) for ; Tue, 02 Jan 2024 22:14:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iBpw7Hpr; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704230051; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sk9VNXvX+Hf4okmOwGTJIIkDl4yGYrsgQFdAKAdyNew=; b=gAubEy1XYdhX7LOcXYlB15lMABFzfpdQU/Ih/wCZEQP+d9XqnHIwmzOaq19p9cUTuR4BKB exJKEnAP+RIbwh1J4g/ay329YQTNJEelofZdHSZRQit3LbAyQ8C60A2m2qzIOmf7EEMzMd VeLafF/Svh356EOyMqQ0J9AUr1d7IqCBQpAGbkhZf+MABA6bAy7/kCnU5F7UlnkOEStLuT hSG7ny+/z5F5QfLuDv5PnjO0CFMQBAxJ9Fl821xYN6UjQJ00dMJarN3H1pirXSG14ZGf8o xdzJtjerJEhO29ii+WVySWeqInwRPTRTd/UioLj5PXFIMWZbHTY3b8R2+Ns8EA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iBpw7Hpr; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704230051; a=rsa-sha256; cv=none; b=YMkWrTCpQrsBEnIm+8dSbnYQzveiMd+vnrXQYUMxzat1jfcibQl68fqPOHRNfmx1rt+2CC 1khtr5i5alVWZjlTDNqYk4uLihBgp0WSCHwhonNFe577xGTHR0JCdVAapUGJJKlKPIBLTA ALVYBqaiG/4/Az7PMXyw1iuEQj8BeBxhEXNB5+V0n04cYFsLkULp4hvOedmxmsXpAOEWLQ HkPQ8VnBbG4XmfC4KG0TmwIiPtvpERZ8dB8FZzHmD8tIxjZe83Gl2xULVJHYuMVHTVSFX4 NEoD7gWEWlkPVCXRiODSdjU2qQGbFyMVVWJi8c5olRRFBqOugjN5i6LRHg0HWg== 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 2E04B121AB for ; Tue, 2 Jan 2024 22:14:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKm4d-00078m-Hd; Tue, 02 Jan 2024 16:13:19 -0500 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 1rKm4W-00076y-PE for guix-devel@gnu.org; Tue, 02 Jan 2024 16:13:14 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKm4U-0000IJ-63 for guix-devel@gnu.org; Tue, 02 Jan 2024 16:13:12 -0500 Received: by mail-wm1-x342.google.com with SMTP id 5b1f17b1804b1-40d560818b8so72160545e9.1 for ; Tue, 02 Jan 2024 13:13:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704229987; x=1704834787; darn=gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=sk9VNXvX+Hf4okmOwGTJIIkDl4yGYrsgQFdAKAdyNew=; b=iBpw7HprKSoiQkCrg0uvgDPj3gQYIj/uVi3BWJeiMw3qqhtvjuUcXj5u1X9u5c9o+u aKqx6wb6hKRpLk2WamvDH+F0Axf7+nlakYD2wlcgEcvFrulU+HgAOIEMFLPGApZWtsuX IOOdEwulK7fLqHsu7OIvwsb0z3ot9E2hrSwM2xIsqA6cap7UUpfm9jfgG0ZcPExqMm+4 o7kKB3VAsGiKNiyJQGQMwMUVd/PqkkEs8L3JePq3kPuqGJ58yrpAIUjlujJRoRKX2DQZ ep6/qbIU1aKcRHEgqFdRcvJH13c790ytS/KLRPYrbQ71W4fRZFsPQDq0az3S4jVuFoxV HYyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704229987; x=1704834787; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sk9VNXvX+Hf4okmOwGTJIIkDl4yGYrsgQFdAKAdyNew=; b=cLyt9waVnn1Ngut0LKkfhcTfDEVJ0g/kLoA5dU4S7Km5HpE07o36kuBh1Zm97EmlAf H9eXLOsNFU5Y7lvNBw0zWcmbgIdjqwWqKvrUTWWKxdf/c3JfV7xm68W8xl28PGhcppQ3 awfGVpgPRhGhAXWpXHOLM7gew+sj7f1KQEgROY2S+sFmZENm/RKks4UnGqt/5fKZ5X9Y zUhuMUy5Kcxh0FZvDmhGHKUYR4A7Km41tejbrrnLqZqUQCiLYD+Re0OcWApkkRS/sH6T F6bu+7rciFrVKNHcBhW4OaR5ZP/5aEZQqBm0K4nBluCK8V9aA4Aiti2N1qNFlkuowl36 Mlcw== X-Gm-Message-State: AOJu0Yz64azxHN5aHq4bO5mToirWDui9g4CoDMfTvige+2p6XY5bJStr Z4a38NbLboQFbl90Nm/VvFw= X-Google-Smtp-Source: AGHT+IHSxTKB6hPrVfAQXwuYng9RBIiXNXoLs6QhWqgwAobGLhto+72MyQ0hiEZgLRyzZwUuhaugng== X-Received: by 2002:a05:600c:3b9c:b0:40d:5ab6:3757 with SMTP id n28-20020a05600c3b9c00b0040d5ab63757mr5630836wms.123.1704229986723; Tue, 02 Jan 2024 13:13:06 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id r25-20020a170906281900b00a1f7c502736sm12170418ejc.164.2024.01.02.13.13.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 13:13:06 -0800 (PST) Message-ID: Subject: Re: Separating test inputs? From: Liliana Marie Prikler To: Saku Laesvuori , Felix Lechner Cc: guix-devel@gnu.org Date: Tue, 02 Jan 2024 22:13:05 +0100 In-Reply-To: <34hukgotkplcjh5kqruqdrfdl7mhod6jgxctkf5njbzw2crseu@dyvgd2fa5ojk> References: <87o7e42te8.fsf@lease-up.com> <34hukgotkplcjh5kqruqdrfdl7mhod6jgxctkf5njbzw2crseu@dyvgd2fa5ojk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=liliana.prikler@gmail.com; helo=mail-wm1-x342.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.46 X-Spam-Score: -6.46 X-Migadu-Queue-Id: 2E04B121AB X-TUID: DIUDXG1Mc1RI Am Dienstag, dem 02.01.2024 um 10:14 +0200 schrieb Saku Laesvuori: > > A better test infrastructure in Guix would probably be good, but is > > not ready yet. Would it make sense, however, to split out those > > inputs only needed for testing? > >=20 > > Such a step would probably make bootstrapping new architectures a > > lot easier. It would also reduce the dependency graph in Guix, > > since tests are not needed to either build or use a package. > >=20 > > In Debian, test prerequisites are annotated awkwardly with > > in the build prerequisites. (I think Guix calls them > > native-inputs.) > > You can see some of Debian's funny notations here [1] and here. [2] > >=20 > > This is a proposal for 'test-inputs'. Any thoughts? >=20 > An additional test-inputs field sounds like a good idea. Maybe the > test-inputs could be made available just for the test phase (I'd > assume this could be implemented with add-test-inputs and remove- > test-inputs phases) so that they would be isolated from other parts > of the build process. Adding inputs only during check will not work for build systems that actually need a configure phase, such as gnu, cmake, or meson. Python might be a weird outlier where testing is more loosely coupled from the build. I think rather than have a specific category of test inputs, we might want to have a without-input transformer to remove unwanted inputs from a package. Since we have with-input already, it's the obvious thing to do :) Cheers