This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Unittesting with automake


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]