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

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

 



"Daniel P. Berrange" <berrange@xxxxxxxxxx> 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

In addition, this is changing s/exit/return/ and
s/abs_top_srcdir/abs_srcdir/
[BTW, thanks.  This latter has prodded me to do similar
 automated clean-up to coreutils' ~300 test scripts. ]

ACK

>
>    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
>
>     VIR_TEST_OOM=1 make valgrind

--
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]