Hi Ludovic,

thanks for the report.  I am going to fix it.

Cheers,
Giuseppe


[email protected] (Ludovic Courtès) writes:

> Hello!
>
> In the process of packaging MyServer for NixOS, I stumbled upon this
> error:
>
> make  check-TESTS
> make[2]: Entering directory 
> `/tmp/nix-build-0i9yyd4xsmfcfkkcnqffy9dmb9prv7x1-myserver-0.9.drv-0/myserver-0.9'
> /bin/sh: line 9: ./tests: is a directory
> FAIL: tests
> =====================================
> 1 of 1 test failed
> Please report to [email protected]
> =====================================
>
> I believe this is caused by this construct in the top-level
> `Makefile.am':
>
> if BUILD_TESTS
> TESTS = tests
> endif
>
> It should be renamed to `test_dir' or similar, because the name `TESTS'
> must denote a list of programs to be run by the Automake-generated
> makefile when typing "make check".
>
> Thanks,
> Ludo'.


Reply via email to