diff options
author | Markus Armbruster <armbru@redhat.com> | 2021-09-17 16:31:31 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-09-27 08:23:25 +0200 |
commit | 76432d988b67d95006d0aa66dce2aa5999868d29 (patch) | |
tree | d886a9906a8b3dea931da214cc9f08ffa45f56b8 /tests/qapi-schema/meson.build | |
parent | bb5821dd8194ed8b50f36a45ecffeac87045937d (diff) | |
download | qemu-76432d988b67d95006d0aa66dce2aa5999868d29.zip qemu-76432d988b67d95006d0aa66dce2aa5999868d29.tar.gz qemu-76432d988b67d95006d0aa66dce2aa5999868d29.tar.bz2 |
tests/qapi-schema: Purge simple unions from tests
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>
Message-Id: <20210917143134.412106-21-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/meson.build')
-rw-r--r-- | tests/qapi-schema/meson.build | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/qapi-schema/meson.build b/tests/qapi-schema/meson.build index 0798e94..85d3de1 100644 --- a/tests/qapi-schema/meson.build +++ b/tests/qapi-schema/meson.build @@ -192,14 +192,10 @@ schemas = [ 'unclosed-string.json', 'union-base-empty.json', 'union-base-no-discriminator.json', - 'union-branch-case.json', 'union-branch-if-invalid.json', 'union-branch-invalid-dict.json', - 'union-clash-branches.json', - 'union-empty.json', 'union-invalid-base.json', 'union-invalid-data.json', - 'union-optional-branch.json', 'union-unknown.json', 'unknown-escape.json', 'unknown-expr-key.json', |