On 02/06/2014 07:29 AM, Markus Armbruster wrote: > The test demonstrates a generator bug: the generated struct > UserDefFlatUnion doesn't include members for the indirect base > UserDefZero.
Good catch. > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > tests/qapi-schema/qapi-schema-test.json | 7 +++++++ > tests/qapi-schema/qapi-schema-test.out | 2 ++ > tests/test-qmp-input-strict.c | 33 > +++++++++++++++++++++++++++++++++ > tests/test-qmp-input-visitor.c | 20 ++++++++++++++++++++ > tests/test-qmp-output-visitor.c | 31 +++++++++++++++++++++++++++++++ > 5 files changed, 93 insertions(+) > Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature