Re: [libvirt] [PATCH 15/21] tests: qemuxml2argv: remove full testInfo initialization

2019-03-21 Thread Cole Robinson
On 3/19/19 10:12 AM, Andrea Bolognani wrote: > On Thu, 2019-03-14 at 10:44 -0400, Cole Robinson wrote: > [...] >> +# define DO_TEST_CAPS_INTERNAL(_name, _suffix, \ >> arch, capsfile, stripmachinealiases, ...) \ >> do { \ >> static struct testInfo info =

Re: [libvirt] [PATCH 15/21] tests: qemuxml2argv: remove full testInfo initialization

2019-03-19 Thread Andrea Bolognani
On Thu, 2019-03-14 at 10:44 -0400, Cole Robinson wrote: [...] > +# define DO_TEST_CAPS_INTERNAL(_name, _suffix, \ > arch, capsfile, stripmachinealiases, ...) \ > do { \ > static struct testInfo info = { \ > -name, "." suffix, NULL, NULL, -1,

[libvirt] [PATCH 15/21] tests: qemuxml2argv: remove full testInfo initialization

2019-03-14 Thread Cole Robinson
Only initialize the fields that are passed in Signed-off-by: Cole Robinson --- tests/qemuxml2argvtest.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 176e4eff3e..b1c18c6c09 100644 --- a/tests/qemuxml2ar