bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attr: No rule to make target `check'.


From: Ludovic Courtès
Subject: Re: attr: No rule to make target `check'.
Date: Wed, 05 Dec 2012 12:53:04 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi,

Nikita Karetnikov <address@hidden> skribis:

> starting phase `check'
> make: *** No rule to make target `check'.  Stop.

Two cases:

  - if there’s not test suite at all, just add:
    (arguments '(#:tests? #f)).

  - if there is a test suite, but under a different ‘make’ target, or
    that has to be run by some script, then you should replace the
    ‘check’ phase by one that DTRT:

    (arguments '(#:phases (alist-replace 'check
                                         (lambda _
                                           (zero? (system* "./run-the-tests")))
                                          %standard-phases)))

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]