[Top][All Lists]

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

Re: Dejagnu with cppunit

From: Ben Elliston
Subject: Re: Dejagnu with cppunit
Date: Sun, 13 Mar 2011 23:32:01 +1100
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Jul 31, 2006 at 02:30:47PM +0100, Paulo J. Matos wrote:

> Has anyone worked out how to have dejagnu, cppunit and autotools
> working ok?  It seems that both dejagnu and cppunit use 'make check'
> to run the tests. Isn't this a problem?

Sure, it's somewhat of a problem.  In Automake, you need to decide if
you want `make check' to run a DejaGnu testsuite or the "simple"
testsuite (see the Automake info pages for details).

One option would be to have `make check' run the DejaGnu tests and
then add a second check-local target that invokes cppunit.  An
alternative approach would be to write a DejaGnu .exp script that
wraps around cppunit so that everything is integrated into the one
test framework.

Cheers, Ben

reply via email to

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