[libvirt] PATCH: 4/4: Switch many testcases to OOM checking APIs

Daniel Veillard veillard at redhat.com
Wed May 28 14:03:53 UTC 2008


On Thu, May 22, 2008 at 06:38:47PM +0100, Daniel P. Berrange wrote:
> This switches over a number of the test cases to make use of the new
> virTestMain() function and thus gain support for allocation checking
> 
> So you can now actually see some checks when running
>    
> 
>    VIR_TEST_OOM=1 make check
> 
> Oh, and for added fun you can check if there are any leaks in the cleanup
> paths by layering in valgrind 

   Great, +1

> 
>     VIR_TEST_OOM=1 make valgrind
> 
> which is superbly slow but finds a few things :-)

   Finnaly putting those fast CPUs to good use ... excellent :-)

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list