From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CJOjJZtOeGHc0wAAgWs5BA (envelope-from ) for ; Tue, 26 Oct 2021 20:53:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cPZ3IZtOeGGaJgAAB5/wlQ (envelope-from ) for ; Tue, 26 Oct 2021 18:53:15 +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 CFD7C12223 for ; Tue, 26 Oct 2021 20:53:14 +0200 (CEST) Received: from localhost ([::1]:51466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfRZQ-0004qf-0F for larch@yhetil.org; Tue, 26 Oct 2021 14:53:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfREX-0003d3-F3 for help-guix@gnu.org; Tue, 26 Oct 2021 14:31:39 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:41480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfREU-0000zK-Oa for help-guix@gnu.org; Tue, 26 Oct 2021 14:31:36 -0400 Received: by mail-lj1-x22d.google.com with SMTP id u5so360438ljo.8 for ; Tue, 26 Oct 2021 11:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=IbBPyCwigTR8HarKhju02qlKMPMaKM5X3t0D2yxkZ38=; b=iTWZtIG7QpgUcnKR/efEj7GIUHPWUQK7VLdr6C/J7X2hRvyYXOWhNMWnua2cifNOl4 7103EO3Q8MxpwOPEKeF+cqBgVOYeu2DgJLPJv5b6RmCGeOztOUjiO0Aj1oqD+Soevddh yDHGZdnV3YX2CZzxLqwVgH83Q1CHvp++sX625OQDcrdD6gg+qBDk1XSfIBux8gpxKb/X 9og6rflqo+4Xq8nMxpMd+Wxa4fjgIyszxdUzpk3Ri6sc6j3zX/QxUB5rzF0XZL64SNMN ycBEmpz6bc08RfyA+3yH5uNmovYn4nZf9ikG08c/XgFjPbB9A6ShtOFUf5Li7n8mSnSe qurg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=IbBPyCwigTR8HarKhju02qlKMPMaKM5X3t0D2yxkZ38=; b=Xg3BID1W2fTOR3T1BCO6ngKIL/n+FeKGWxcOPs4Os1f+D3ak5C+MhGksoUb6LRcnkz yLyb8Q7gkM82GGjSXaQdjQ/06rA7kmsaAURu7RXh6wqJrxYCfGFP90BJfsLiVgHSEanS 3iVmi9yiFBpFSo0PkkDpSzhNxGLTVATzFgv7cJ8BJC9mT4fxbNXKr5UFc9Hb8WgPEbzw PNKZQicMJSUM0Qqw8K/Nhm1eUdq0t3kXhSXbcqJ9lTMZaSHUsHoN83520y+2jqXY+KEo xfMUzGgQd/X9h9oZhs3Wk+zvvoVWqLPj0UyFOgnJ2/g5HJIeeteo12mnx0NKnJbLaaBK Cz+Q== X-Gm-Message-State: AOAM531QbNF+wuSMNBtNVdqbp78eBCI3HHodeHaLjblONxmZvj5ddWho aKKLoBSEMyjUOmRKMvFTNvb0TrzMhEuj4d0Q X-Google-Smtp-Source: ABdhPJwBUl+0Y3B3sJ0vHOx0KzakDhZKD/tSdJnBg3h0fC0r30fdZ6Kgzi1+Ng8N1jsIl4viVRK3Eg== X-Received: by 2002:a2e:a483:: with SMTP id h3mr27939148lji.493.1635273091706; Tue, 26 Oct 2021 11:31:31 -0700 (PDT) Received: from xps13 (host-92-10-211-105.as13285.net. [92.10.211.105]) by smtp.gmail.com with ESMTPSA id m7sm656797lfu.110.2021.10.26.11.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 11:31:31 -0700 (PDT) References: <20211026062429.242a504a@riseup.net> User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: raingloom Subject: Re: Getting Unit Test Results Out Of Guix Build In-reply-to: <20211026062429.242a504a@riseup.net> Message-ID: <878ryffxj3.fsf@beadling.co.uk> Date: Tue, 26 Oct 2021 19:31:29 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::22d; envelope-from=phil@beadling.co.uk; helo=mail-lj1-x22d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635274395; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IbBPyCwigTR8HarKhju02qlKMPMaKM5X3t0D2yxkZ38=; b=Vlf3Tpdq9J+lE+rHNMLGcdV10YDZ9xKN/p7EJnu0iWlQ/Ppl4rEEzBYWd+JVlGaj1O81Kt pS6kJxr0uFjdVS+diMU50/H8aTnPLc3YI3ZvU/wK/Sghut2fcHYh37MRAIlbXapivObJmW g8NClEhvkhigoAPoO4Nu+af+QrHaKw7OWKSTBDu07xz3HsGDox7X0xAfwtQOTgLxCFg64/ Ju7l81KY98NE1yAjB3562N3jgRGGuJ8zvU5bPKpn7VLQK9KT9iSV4ix/lE5mEKqY2qeOH6 yNJvszxYpw+Zr57ZCogt67QLe49dE+tfxWHLaqjwu8DHJfOjBxUBS6nyrE9g4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635274395; a=rsa-sha256; cv=none; b=e3ibKF+GJupQYw0v9cZsmNt7A3X71zLuvPXkbPpocSuOlXPT2hBNKeKtQil3ROrw3p1fGN ebhyhb1kROHSCbdDET/dRgVHTuYYnNb0JehbqA7yFj92srCETmN9oe/exwNqKkZ9a4EDsL S65ygSQZp1BmzrW0NsMyS+orYdpxg19zUtmLDIF7URztPxp8PzEb8I3JXJO/CsiZarq9ll zlWOhNoyNYJO4VB8NECmg59jJxZ01Evy3tdCoSVmQ18ElADDpkniLa171N0Eqr59lsXeHC 2xnpvaIFOOdC1FK0LXtIM0h4lQv3Ea34TD3OUmIJP8pPIrc+m7Kf43QYfUGU7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=iTWZtIG7; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=iTWZtIG7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: CFD7C12223 X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: b+PrkrEg2nvL Hi, raingloom writes: > Couldn't this just be another package output? Maybe not the most elegant > solution, since those are not usually used this way, but it can sort of > work. Just add a phase that copies the logs to the "tests" output if > it exists. Kinda like how the "debug" is currently used. Yes this could work - so for my-package I could just define my-package:tests which would add an extra test directory to the package in the store which I would copy the test results into. The files will be small so I could just leave them in the store, but also I could remove the my-package:tests once I'm done using the file, to keep the store tidy? It might even be possible to write something that augments this onto a package automatically. I'll give this a whirl and if I produce anything useful I'll reply with the details. Thanks!