I am writing a small library and want to make it accessible using autotools with automake 1.11. The only interesting outcome is the library libfoo.so.
I wrote a unit test for the library which I want be executed during the make process or when running make check
. I don not want the unit test to appear in $PREFIX/foo/bin/
.
How do I achieve these goals?