[Libvir] PATCH: Use macros to remove duplicate test code

Jim Meyering jim at meyering.net
Fri Apr 18 08:53:12 UTC 2008


"Daniel P. Berrange" <berrange at redhat.com> 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'.

Nice work.
All looks fine.




More information about the libvir-list mailing list