xemu/tests
Paolo Bonzini d195325b05 qapi: fix error propagation
Don't overwrite / leak previously set errors.
Make traversal cope with missing mandatory sub-structs.
Don't try to end a container that could not be started.

v1->v2:
- unchanged

v2->v3:
- instead of examining, assert that we never overwrite errors with
  error_set()
- allow visitors to set a NULL struct pointer successfully, so traversal
  of incomplete objects can continue
- check for a NULL "obj" before accessing "(*obj)->has_XXX" (this is not a
  typo, "obj != NULL" implies "*obj != NULL" here)
- fix start_struct / end_struct balance for unions as well

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-07-23 11:55:17 +01:00
..
qemu-iotests qemu-iotests: Valgrind support 2012-07-17 16:48:32 +02:00
tcg target-xtensa: add MMU pagewalking tests 2012-06-09 10:45:03 +00:00
.gitignore Add .gitignore for tests/ 2012-04-20 13:23:27 +01:00
check-block.sh Add 'make check-block' 2012-03-12 15:14:07 +01:00
check-qdict.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qfloat.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qint.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qjson.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qlist.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qstring.c test makefile overhaul 2012-03-30 08:14:11 -05:00
fdc-test.c fdc-test: Clean up a bit 2012-07-17 16:48:32 +02:00
hd-geo-test.c qtest: Test we don't put hard disk info into CMOS for a CD-ROM 2012-07-17 16:48:31 +02:00
libqtest.c qtest: Tidy up temporary files properly 2012-07-09 17:21:02 +02:00
libqtest.h qtest: Add function to send QMP commands 2012-05-10 10:32:11 +02:00
m48t59-test.c qtest: add m48t59 tests for Sparc 2012-04-21 07:10:25 +00:00
Makefile qtest: Add hard disk geometry test 2012-07-17 16:48:30 +02:00
qemu-iotests-quick.sh make check: Add qemu-iotests subset 2012-03-12 15:14:07 +01:00
rtc-test.c qtest: add register fuzzing to RTC test 2012-04-19 18:14:55 +00:00
test-coroutine.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-iov.c rewrite iov_send_recv() and move it to iov.c 2012-06-11 23:12:11 +04:00
test-qmp-commands.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-qmp-input-strict.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-qmp-input-visitor.c qapi: fix error propagation 2012-07-23 11:55:17 +01:00
test-qmp-output-visitor.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-string-input-visitor.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-string-output-visitor.c qapi: String visitor, use %f representation for floats 2012-06-08 16:11:14 +02:00
test-visitor-serialization.c qapi: Add String visitor coverage to serialization unit tests 2012-06-08 16:11:14 +02:00