From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: attr: No rule to make target `check'. Date: Wed, 05 Dec 2012 12:53:04 +0100 Message-ID: <87ehj4sokf.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgDXS-0006fn-U9 for bug-guix@gnu.org; Wed, 05 Dec 2012 06:53:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgDXM-00071k-KH for bug-guix@gnu.org; Wed, 05 Dec 2012 06:53:18 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:49066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgDXM-00071c-Dt for bug-guix@gnu.org; Wed, 05 Dec 2012 06:53:12 -0500 In-Reply-To: (Nikita Karetnikov's message of "Wed, 5 Dec 2012 09:31:16 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Hi, Nikita Karetnikov skribis: > starting phase `check' > make: *** No rule to make target `check'. Stop. Two cases: - if there=E2=80=99s not test suite at all, just add: (arguments '(#:tests? #f)). - if there is a test suite, but under a different =E2=80=98make=E2=80=99 = target, or that has to be run by some script, then you should replace the =E2=80=98check=E2=80=99 phase by one that DTRT: (arguments '(#:phases (alist-replace 'check (lambda _ (zero? (system* "./run-the-tests= "))) %standard-phases))) Thanks, Ludo=E2=80=99.