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

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



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


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