qemu/tests
Eric Blake fd41dd4eae qapi: Prefer 'struct' over 'type' in generator
Referring to "type" as both a meta-type (built-in, enum, union,
alternate, or struct) and a specific type (the name that the
schema uses for declaring structs) is confusing.  The confusion
is only made worse by the fact that the generator mostly already
refers to struct even when dealing with expr['type'].  This
commit changes the generator to consistently refer to it as
struct everywhere, plus a single back-compat tweak that allows
accepting the existing .json files as-is, so that the meat of
this change is separate from the mindless churn of that change.

Fix the testsuite fallout for error messages that change, and
in some cases, become more legible.  Improve comments to better
match our intentions where a struct (rather than any complex
type) is required.  Note that in some cases, an error message
now refers to 'struct' while the schema still refers to 'type';
that will be cleaned up in the later commit to the schema.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-05 18:39:01 +02:00
..
acpi-test-data
image-fuzzer
libqos misc: Fix new collection of typos 2015-04-30 16:05:48 +03:00
multiboot
qapi-schema qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
qemu-iotests iotests: add incremental backup granularity tests 2015-04-28 15:36:11 +02:00
tcg
vmstate-static-checker-data
.gitignore
ac97-test.c
ahci-test.c qtest/ahci: add flush retry test 2015-04-28 15:27:51 -04:00
bios-tables-test.c
boot-order-test.c
check-block.sh
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c
check-qlist.c
check-qom-interface.c
check-qstring.c
display-vga-test.c
drive_del-test.c
e1000-test.c
eepro100-test.c
endianness-test.c
es1370-test.c
fdc-test.c
fw_cfg-test.c
hd-geo-test.c
i440fx-test.c
i82801b11-test.c
ide-test.c libqos: add blkdebug_prepare_script 2015-04-28 15:27:51 -04:00
intel-hda-test.c
ioh3420-test.c
ipoctal232-test.c
libqtest.c qtest: Add assertion that required environment variable is set 2015-04-28 15:27:51 -04:00
libqtest.h libqtest: add qmp_async 2015-04-28 15:27:51 -04:00
m48t59-test.c
Makefile qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
ne2000-test.c
nvme-test.c
pc-cpu-test.c
pcnet-test.c
pvpanic-test.c
qemu-iotests-quick.sh
qom-test.c
rcutorture.c
rtc-test.c
rtl8139-test.c
spapr-phb-test.c
test-aio.c
test-bitops.c
test-coroutine.c
test-cutils.c
test-hbitmap.c hbitmap: truncate tests 2015-04-28 15:36:11 +02:00
test-int128.c
test-iov.c
test-mul64.c
test-opts-visitor.c
test-qdev-global-props.c
test-qemu-opts.c
test-qmp-commands.c
test-qmp-event.c
test-qmp-input-strict.c qapi: Rename anonymous union type in test 2015-05-05 18:39:00 +02:00
test-qmp-input-visitor.c qapi: Rename anonymous union type in test 2015-05-05 18:39:00 +02:00
test-qmp-output-visitor.c qapi: Rename anonymous union type in test 2015-05-05 18:39:00 +02:00
test-rcu-list.c
test-rfifolock.c
test-string-input-visitor.c
test-string-output-visitor.c
test-thread-pool.c
test-throttle.c
test-visitor-serialization.c
test-vmstate.c
test-write-threshold.c
test-x86-cpuid.c
test-xbzrle.c
tmp105-test.c
tpci200-test.c
usb-hcd-ehci-test.c
usb-hcd-ohci-test.c
usb-hcd-uhci-test.c
usb-hcd-xhci-test.c
vhost-user-test.c
virtio-9p-test.c
virtio-balloon-test.c
virtio-blk-test.c
virtio-console-test.c
virtio-net-test.c
virtio-rng-test.c
virtio-scsi-test.c
virtio-serial-test.c
vmxnet3-test.c
wdt_ib700-test.c