This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Unittesting with automake
- From: Sergey Myasnikov <tigra at sky dot deep dot ru>
- To: automake at gnu dot org
- Date: Sun, 17 Feb 2002 05:01:16 +0300
- Subject: Unittesting with automake
- Reply-to: tigra_564 at mail dot ru
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