Re: Make Test

Zbigniew Zagórski <[email protected]> Mon, 9 Feb 2009 21:11:52 +0100
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <[email protected]>
Hello,

2009/2/8 John Ralls <[email protected]>:
> Does anyone here have a "Make Test" target preset (something like
> autoconf's) that I can plagiarize?

I use "make check" but idea is the same. In bkl it looks like this:

<action id="check">
        <depends>unittests</depends>
        <command>sh $(SRCDIR)/check.sh</command>
</action>

Where unittests is executable with all tests, check.sh is a
test driver which among others runs this executable.

Works for me with "autoconf" target on unix and msys. Should
work also with other "make" like targets.

-- 
ZZ

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com