[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 20/22] tests/qapi-schema: Purge simple unions from tests
From: |
Eric Blake |
Subject: |
Re: [PATCH 20/22] tests/qapi-schema: Purge simple unions from tests |
Date: |
Mon, 13 Sep 2021 10:37:26 -0500 |
User-agent: |
NeoMutt/20210205-772-2b4c52 |
On Mon, Sep 13, 2021 at 02:39:30PM +0200, Markus Armbruster wrote:
> Drop tests that are specifically about simple unions:
>
> * SugaredUnion in doc-good: flat unions are covered by @Object.
>
> * union-branch-case and union-clash-branches: branch naming for flat
> unions is enforced for the tag enum instead, which is covered by
> enum-member-case and enum-clash-member.
>
> * union-empty: empty flat unions are covered by flat-union-empty.
>
> Rewrite the remainder to use flat unions: args-union, bad-base,
> flat-union-base-union, union-branch-invalid-dict, union-unknown.
>
> Except drop union-optional-branch. because converting this one is not
> worth the trouble; we don't explicitly check names beginning with '*'
> in other places, either.
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- Re: [PATCH 14/22] test-clone-visitor: Wean off UserDefListUnion, (continued)
- [PATCH 20/22] tests/qapi-schema: Purge simple unions from tests, Markus Armbruster, 2021/09/13
- Re: [PATCH 20/22] tests/qapi-schema: Purge simple unions from tests,
Eric Blake <=
- [PATCH 03/22] qapi: Convert simple union KeyValue to flat one, Markus Armbruster, 2021/09/13
- [PATCH 07/22] qapi: Convert simple union ChardevBackend to flat one, Markus Armbruster, 2021/09/13
- [PATCH 17/22] tests/qapi-schema: Rewrite simple union TestIfUnion to be flat, Markus Armbruster, 2021/09/13
- [PATCH 09/22] qapi: Convert simple union ImageInfoSpecific to flat one, Markus Armbruster, 2021/09/13
- [PATCH 19/22] tests/qapi-schema: Drop simple union __org.qemu_x-Union1, Markus Armbruster, 2021/09/13