Hi,

Nikita Karetnikov <nikita.karetni...@gmail.com> 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