diff options
| author | Eric Blake <eblake@redhat.com> | 2015-11-05 23:35:32 -0700 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2015-11-10 08:09:14 +0100 |
| commit | 12fafd7cedad51854c468ea0496a6542b3222b29 (patch) | |
| tree | 28b424135911da448b8d782b9326ee6c14e788ea /scripts/qapi-visit.py | |
| parent | a12a5a1a0132527afe87c079e4aae4aad372bd94 (diff) | |
| download | focaccia-qemu-12fafd7cedad51854c468ea0496a6542b3222b29.tar.gz focaccia-qemu-12fafd7cedad51854c468ea0496a6542b3222b29.zip | |
qapi: More tests of alternate output
The testsuite was only covering that we could output the 'int' branch of an alternate (no additional allocation/cleanup required). Add a test of the 'str' branch, to make sure that things still work even when a branch involves allocation. Update to modern style of g_new0() over g_malloc0() while touching it. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1446791754-23823-9-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions