automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unittesting with automake


From: Sergey Myasnikov
Subject: Unittesting with automake
Date: Sun, 17 Feb 2002 05:01:16 +0300
User-agent: Mutt/1.2.5i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]