qemu-e2k/tests
Markus Armbruster 84d18f065f Use error_is_set() only when necessary
error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out.  Unnecessarily hard for
optimizers, static checkers, and human readers.  Dumb it down to
obvious.

Gets rid of several dozen Coverity false positives.

Note that the obvious form is already used in many places.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-02-17 11:57:23 -05:00
..
acpi-test-data acpi-test: update expected AML since recent changes 2014-01-26 13:11:45 +02:00
libqos libqos: Generalize I/O-mapped fw_cfg 2013-07-18 13:27:47 -05:00
multiboot tests: Multiboot mmap test case 2013-10-28 17:34:42 +01:00
qapi-schema OptsVisitor: introduce unit tests, with test cases for range flattening 2013-08-20 11:52:00 -04:00
qemu-iotests qemu-iotests: add test for qcow2 preallocation with different cluster sizes 2014-02-09 09:12:39 +01:00
tcg tests: lm32: new rule for single test cases 2014-02-04 19:34:29 +01:00
.gitignore tests/.gitignore: Ignore tests/check-qom-interface 2014-02-01 13:56:31 +04:00
acpi-test.c acpi unit-test: do not fail on asl mismatch 2014-01-26 13:06:49 +02:00
blockdev-test.c blockdev-test: add test case for drive_add duplicate IDs 2013-11-07 13:58:58 +01:00
boot-order-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00
check-block.sh
check-qdict.c tests: Add test for qdict_flatten() 2014-01-22 12:07:18 +01:00
check-qfloat.c
check-qint.c
check-qjson.c qjson: to_json() case QTYPE_QSTRING is buggy, rewrite 2013-04-13 19:40:25 +00:00
check-qlist.c
check-qom-interface.c tests: Test QOM interface casting 2013-12-24 17:27:17 +01:00
check-qstring.c
endianness-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00
fdc-test.c qtest: Fix the bug about disable vnc causes "make check" fail 2014-01-22 12:07:16 +01:00
fw_cfg-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00
hd-geo-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00
i440fx-test.c i440fx-test: verify firmware under 4G and 1M, both -bios and -pflash 2013-12-23 13:12:34 +02:00
ide-test.c qtest: Fix the bug about disable vnc causes "make check" fail 2014-01-22 12:07:16 +01:00
libqtest.c qtest: unlink UNIX domain sockets after connecting 2014-02-03 16:06:24 +01:00
libqtest.h libqtest: add qmp(fmt, ...) -> QDict* function 2013-11-07 13:58:53 +01:00
m48t59-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00
Makefile hw/pci: switch to a generic hotplug handling for PCIDevice 2014-02-10 10:27:00 +02:00
qdev-monitor-test.c virtio-blk: Convert to QOM realize 2013-12-09 21:46:49 +01:00
qemu-iotests-quick.sh
qom-test.c hw/arm: add cubieboard support 2013-12-17 20:12:51 +00:00
rtc-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00
test-aio.c aio: make aio_poll(ctx, true) block with no fds 2013-12-06 16:53:51 +01:00
test-bitops.c tests: fix 64-bit int literals for 32-bit hosts 2013-11-05 19:59:43 -08:00
test-coroutine.c Test coroutine execution order 2013-11-28 10:30:52 +01:00
test-cutils.c cutils: unsigned int parsing functions 2013-02-04 14:38:33 -06:00
test-hbitmap.c
test-int128.c int128: optimize and add test cases 2013-07-02 08:17:01 +02:00
test-iov.c
test-mul64.c tests: Add unit tests for mulu64 and muls64 2013-02-17 14:28:58 +00:00
test-opts-visitor.c tests: fix 64-bit int literals for 32-bit hosts 2013-11-05 19:59:43 -08:00
test-qdev-global-props.c qdev: Set globals in instance_post_init function 2013-08-16 18:44:33 +02:00
test-qmp-commands.c
test-qmp-input-strict.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-qmp-input-visitor.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-qmp-output-visitor.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-string-input-visitor.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-string-output-visitor.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-thread-pool.c aio / timers: Add QEMUTimerListGroup to AioContext 2013-08-22 19:10:27 +02:00
test-throttle.c misc: New spelling fixes in comments 2013-10-26 13:01:57 +04:00
test-visitor-serialization.c misc: Use g_assert_not_reached for code which is expected to be unreachable 2013-07-27 11:22:54 +04:00
test-vmstate.c tests: Some unit tests for vmstate.c 2014-01-13 14:04:53 +01:00
test-x86-cpuid.c target-i386: Topology & APIC ID utility functions 2013-01-27 14:34:27 +01:00
test-xbzrle.c Add XBZRLE testing 2013-02-01 08:32:20 +01:00
tmp105-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00