From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Fwd: Running individual system tests Date: Fri, 25 Oct 2019 22:28:41 +0200 Message-ID: <87r230o9hi.fsf@gnu.org> References: <7a1ea893-6ec0-5312-a013-cdc246a1e1e5@danielschaefer.me> 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]:34795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iO6CU-00027a-Tt for guix-devel@gnu.org; Fri, 25 Oct 2019 16:28:47 -0400 In-Reply-To: <7a1ea893-6ec0-5312-a013-cdc246a1e1e5@danielschaefer.me> ("Daniel \=\?utf-8\?Q\?Sch\=C3\=A4fer\=22's\?\= message of "Sat, 19 Oct 2019 12:06:25 +0200") 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?= Cc: guix-devel@gnu.org Hi Daniel, Daniel Sch=C3=A4fer skribis: > I hacked together a solution that works but is far from nice. > It is based off of build-aux/run-system-tests.scm and I tried to strip > it down to the core. There=E2=80=99s a simpler solution: --8<---------------cut here---------------start------------->8--- $ cat /tmp/test.scm (use-modules (gnu tests) (gnu tests rsync)) (lambda () (system-test-value %test-rsync)) $ guix build -f /tmp/test.scm=20 =E2=80=A6 --8<---------------cut here---------------end--------------->8--- However, note that the (gnu tests =E2=80=A6) API could change anytime. In particular, I=E2=80=99d like to avoid monadic style there. HTH! Ludo=E2=80=99.