Hallo! I've started a project (my first one) using auto{make,conf} couple. I put my sources into ./src directory and tests into ./tests. The problem aroused when I tried to compile my tests. As supposed they must test some functionality of my program modules. The only thing I managed to invent was to add object files (e.g. ../src/io.o) to LDADD variable. This is rather clumsy and I suppose not automakish.
Can anyone point me on a good strategy for performing unittests (considering tests being in a separate directory)? Thanks, Sergey