From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: Fwd: Running individual system tests Date: Sat, 19 Oct 2019 13:27:01 +0200 Message-ID: <87bludx9fe.fsf@devup.no> References: <7a1ea893-6ec0-5312-a013-cdc246a1e1e5@danielschaefer.me> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56840) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLmt4-0000rD-1b for guix-devel@gnu.org; Sat, 19 Oct 2019 07:27:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLmt2-0006B9-WE for guix-devel@gnu.org; Sat, 19 Oct 2019 07:27:09 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:40475) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iLmt2-0006Ao-LI for guix-devel@gnu.org; Sat, 19 Oct 2019 07:27:08 -0400 In-Reply-To: <7a1ea893-6ec0-5312-a013-cdc246a1e1e5@danielschaefer.me> 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" To: Daniel =?utf-8?Q?Sch=C3=A4fer?= , guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Daniel, Daniel Sch=C3=A4fer writes: > I'm still trying to figure out, how to run a single Guix system test=20 > without building the entirety of Guix. > Does anybody do this? Has anybody written a Guix system test for=20 > something not in Guix? Maybe a personal or work-related project. You only have to build the entirety of Guix once. Later invokations of "make check-system" will re-use the compiled modules from the previous "make" invokation, and only compile those that changed in the mean time. Note that 'run-basic-test' also builds a derivation of your Guix checkout to make it available in the VM. I suspect this is what you are referring to? For out-of-tree tests, you can try to hack 'gnu/tests.scm' and 'build-aux/run-system-tests.scm' to your needs. HTH! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2q8wUACgkQoqBt8qM6 VPqk5ggAtmvsxY4qWYWRnGIJ3xjVWIEF80BUZnd4S0TWTe4Kk1DqkBbhB0w1ysU4 XIZutOxRw2mhti/tohqSPn2RrwM1YkFv95jLJiorEgm4rOlkJ4lRnDKiltD92CEE Bqg/vxCUjWJlWbNyp0BUdcgXfv+tApyZZOiXsZJVfWs9kDOZlTLOLSQEODkWurgd fvbXx2Oii9fm3QXFo3PQZPiCU6o5D7CfyD9Wu19dpKieA6xZ7SL0wFBWsHKiUhmh v87JiZpiWPJi0PtZ3xaOeGLy2l2WMoDGP4kFxD6t732rIT0OklEFxBFEyg6h8T5Y yL5EcxVYi5/oWTL5pB4TRVr6kUNK6w== =hYy1 -----END PGP SIGNATURE----- --=-=-=--