From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Daniel_Sch=c3=a4fer?= Subject: Re: Fwd: Running individual system tests Date: Wed, 23 Oct 2019 14:03:20 +0200 Message-ID: <20cc7df7-89bd-120b-d18d-c4a5b3bbbda3@danielschaefer.me> References: <7a1ea893-6ec0-5312-a013-cdc246a1e1e5@danielschaefer.me> <87wod0k59i.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59294) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNFMO-0001Ei-D5 for guix-devel@gnu.org; Wed, 23 Oct 2019 08:03:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNFML-0004i0-Tf for guix-devel@gnu.org; Wed, 23 Oct 2019 08:03:26 -0400 Received: from ciffreo.uberspace.de ([185.26.156.173]:57322) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iNFMK-0004h5-Sx for guix-devel@gnu.org; Wed, 23 Oct 2019 08:03:25 -0400 In-Reply-To: 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.org@gnu.org Sender: "Guix-devel" Cc: guix-devel@gnu.org So you're saying, I have to run ``` ./bootstrap ./configure make ./pre-inst-env guix build my-new-package ``` which builds the daemon, and compiles all Guile modules? And I have to do it, whenever I want to run any system test, or build an in-tree package (which I'm going to submit for inclusion)? Or more precisely: It has to be run, once, before I do those things. Question: Doesn't it ever have to be rerun? How are new modules compiled? It takes 33 minutes on my laptop and is only going to take longer, when Guix gets bigger. Is there maybe an interpreted mode? Or could this be better with Guile 3.0 JIT? - Daniel On 10/21/19 8:43 AM, Daniel Schäfer wrote: > Hi Ricardo, > > For a test of an external system, like something I develop at work, I > don't want/need to have Guix with all modules compiled present. > I don't want unnecessary steps if they are not necessary. > > Please refer to my first mail with an example of running a test > standalone. > I'd like some assistance to make my snippet nicer and not return an > error after successfully running the test. > > Thanks, > Daniel > > On 10/19/19 7:35 PM, Ricardo Wurmus wrote: >> Hi Daniel, >> >> I don’t understand why you would want to run a system test without >> building Guix first. >> >> Could you elaborate? >>