Re: [libvirt] PATCH: 2/4: Generic test script infrastructure

2008-05-28 Thread Daniel Veillard
On Thu, May 22, 2008 at 06:28:25PM +0100, Daniel P. Berrange wrote: > This patch adds more helper functions to the tests/testutils.c file which > make it trivial to verify OOM handling in our test suites. > > It provides a virtTestMain() function which is the main driver. This is > given the orig

Re: [libvirt] PATCH: 2/4: Generic test script infrastructure

2008-05-27 Thread Jim Meyering
"Daniel P. Berrange" <[EMAIL PROTECTED]> wrote: > This patch adds more helper functions to the tests/testutils.c file which > make it trivial to verify OOM handling in our test suites. Very nice! ACK > diff -r 9f962ac84b09 tests/oomtrace.pl > --- /dev/null Thu Jan 01 00:00:00 1970 + > +++ b/

Re: [libvirt] PATCH: 2/4: Generic test script infrastructure

2008-05-22 Thread Daniel P. Berrange
This patch adds more helper functions to the tests/testutils.c file which make it trivial to verify OOM handling in our test suites. It provides a virtTestMain() function which is the main driver. This is given the original argc, argv and a function callback representing the test suite to run. N