qemu/tests
Markus Armbruster 8fba2f737a tests/qapi-schema: Improve union discriminator coverage
A union's 'discriminator' must name one of the common members.
QAPISchemaVariants.check() looks it up by its c_name(), then checks
the name matches exactly (because c_name() is not injective).

Tests union-base-empty and union-invalid-discriminator both cover the
case where lookup fails.  Repurpose the latter to cover the case where
it succeeds and the name check fails.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230316071325.492471-10-armbru@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
[Commit message typo fixed]
2023-04-24 15:21:39 +02:00
..
avocado Merge tpm 2023/04/20 v1 2023-04-21 20:02:51 +01:00
bench util: import GTree as QTree 2023-03-28 15:23:10 -07:00
data bios-tables-test: use 128M numa nodes on aarch64 2023-03-20 09:59:25 +01:00
decode
docker tests: lcitool: Switch to OpenSUSE Leap 15.4 2023-04-20 11:17:36 +02:00
fp tests: make fp-test less chatty when running from test suite 2023-03-01 10:31:28 +00:00
guest-debug
image-fuzzer
include
keys
lcitool tests: lcitool: Switch to OpenSUSE Leap 15.4 2023-04-20 11:17:36 +02:00
migration hw/misc/sga: Remove the deprecated "sga" device 2023-02-14 09:02:42 +01:00
multiboot
perf/block/qcow2
plugin
qapi-schema tests/qapi-schema: Improve union discriminator coverage 2023-04-24 15:21:39 +02:00
qemu-iotests iotests: Regression test for vhdx log corruption 2023-04-11 13:54:43 +02:00
qtest * Optional use of Meson wrap for slirp 2023-04-22 06:10:51 +01:00
rocker
tcg Hexagon (tests/tcg/hexagon) Move HVX test infra to header file 2023-04-21 09:32:52 -07:00
tsan
uefi-test-tools
unit test: Fix test-crypto-secret when compiling without keyring support 2023-04-20 06:50:11 +02:00
vm tests/vm/freebsd: Update to FreeBSD 13.2 2023-04-20 11:28:16 +02:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include
meson.build
requirements.txt
test-qht-par.c
vhost-user-bridge.c