Re: PATCH: Use macros to remove duplicate test code

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

 



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@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]