From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Reproducible profiles Date: Mon, 18 May 2015 21:29:40 +0200 Message-ID: <878ucln0pn.fsf@gnu.org> References: <87pp62iqmn.fsf@fsf.org> <87egmgu609.fsf@gnu.org> <87oali80q8.fsf@fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuQjW-0000EK-Ql for guix-devel@gnu.org; Mon, 18 May 2015 15:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuQjT-0004vg-LF for guix-devel@gnu.org; Mon, 18 May 2015 15:29:50 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuQjT-0004vc-Hp for guix-devel@gnu.org; Mon, 18 May 2015 15:29:47 -0400 In-Reply-To: <87oali80q8.fsf@fsf.org> (David Thompson's message of "Mon, 18 May 2015 09:38:23 -0400") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Thompson Cc: guix-devel@gnu.org David Thompson skribis: > Ludovic Court=C3=A8s writes: > >> We=E2=80=99ll need documentation and tests, too. :-) > > Regarding tests, where should I add them? I can see that > tests/guix-package.sh uses the '-n' flag to avoid building things. > Simply running 'guix package -n --apply=3Dtest-manifest.scm' and getting a > 0 exit value would suffice as a basic integration test, I think. > Anything else that you would recommend? As discussed on IRC, this sounds good to me. Probably in guix-package.sh, which is for tests that do not require network access, or otherwise in guix-package-net.sh. Ludo=E2=80=99.