On Fri, Apr 18, 2008 at 01:32:49AM +0100, Daniel P. Berrange wrote:
The test suite files contain alot of boilerplate duplicated code.
With a
few more macros I can significantly cut down the size of the test code.
I also change abs_top_srcdir to abs_srcdir, and automatically initialize
it to 'getcwd' if the env variable is missing. This lets me run the test
cases directly, rather than having to go via 'make check'.
Looks quite cleaner to me, +1
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/