Re: [libvirt] [PATCH 2/2] qemumonitorjsontest: Introduce DO_TEST_SIMPLE

2013-09-20 Thread Ján Tomko
On 09/20/2013 12:32 PM, John Ferlan wrote: > On 09/18/2013 12:16 PM, Michal Privoznik wrote: >> static int >> +testQemuMonitorJSONSimpleFunc(const void *opaque) >> +{ >> +const testQemuMonitorJSONSimpleFuncDataPtr data = (const >> testQemuMonitorJSONSimpleFuncDataPtr) opaque; >> +virDomai

Re: [libvirt] [PATCH 2/2] qemumonitorjsontest: Introduce DO_TEST_SIMPLE

2013-09-20 Thread John Ferlan
On 09/18/2013 12:16 PM, Michal Privoznik wrote: > This macro is there to test the simplest monitor functions we have, > those in the form of: int ( *func) (qemuMonitorPtr). So far, we have > seven such functions. > > Signed-off-by: Michal Privoznik > --- > tests/qemumonitorjsontest.c | 47 > +++

[libvirt] [PATCH 2/2] qemumonitorjsontest: Introduce DO_TEST_SIMPLE

2013-09-18 Thread Michal Privoznik
This macro is there to test the simplest monitor functions we have, those in the form of: int ( *func) (qemuMonitorPtr). So far, we have seven such functions. Signed-off-by: Michal Privoznik --- tests/qemumonitorjsontest.c | 47 + 1 file changed, 47 in