From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: (not) testing Rust packages?! Date: Mon, 3 Feb 2020 13:22:57 +0100 Message-ID: <81105a29-fced-cb88-b9ca-60846df4e1cc@crazy-compilers.com> References: <87eevixf20.fsf@londo.h.r0tty.org> <6DE68DE8-AA88-4E77-A51D-85D9CC55153A@asu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50806) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyaks-0008K7-Nd for guix-devel@gnu.org; Mon, 03 Feb 2020 07:23:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyakr-0004rU-ID for guix-devel@gnu.org; Mon, 03 Feb 2020 07:23:06 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:58893) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iyakr-0004qB-CV for guix-devel@gnu.org; Mon, 03 Feb 2020 07:23:05 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 48B6RS4HC9z1rfcM for ; Mon, 3 Feb 2020 13:23:00 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 48B6RS4BMTz1qtfD for ; Mon, 3 Feb 2020 13:23:00 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Jrv6AfC2KvvB for ; Mon, 3 Feb 2020 13:22:59 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-61-151.dynamic.mnet-online.de [188.174.61.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 3 Feb 2020 13:22:59 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id A62D46018D for ; Mon, 3 Feb 2020 13:23:02 +0100 (CET) In-Reply-To: <6DE68DE8-AA88-4E77-A51D-85D9CC55153A@asu.edu> Content-Language: en-US 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+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Am 31.01.20 um 19:50 schrieb John Soo: >> On Jan 29, 2020, at 11:01 AM, Andreas Rottmann wrote: >> >> I'm a new to Guix, and am not sure what you mean by "safely" and >> "unwanted store outputs". Running `cargo test` takes the crate source, >> and the closure of any `dependencies` and `dev-dependencies`, and >> produces no real artifacts that make sense to put in the store, as far >> as I can see. The only noteworthy artifact is the stdout/stderr ouput >> produced, as well as the exit status, but I guess that's not relevant = to >> the store. > Oh I could see how =E2=80=9Csafely=E2=80=9D would be confusing. I meant= that we would not populate anything in the store as you suggest. If `cargo test` does not "install" any file - and this is what I would expect it to do, since this is what `cargo install` - running `cargo test` is save. Neither the exit status nor the stderr/stdout output are effecting the store. > What do you think?=20 Go ahead! :-) --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |