Hello!

In the process of packaging MyServer for NixOS, I stumbled upon this
error:

--8<---------------cut here---------------start------------->8---
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]
=====================================
--8<---------------cut here---------------end--------------->8---

I believe this is caused by this construct in the top-level
`Makefile.am':

--8<---------------cut here---------------start------------->8---
if BUILD_TESTS
TESTS = tests
endif
--8<---------------cut here---------------end--------------->8---

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