diff options
| author | Markus Armbruster | 2018-08-06 08:53:25 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2018-08-16 08:42:06 +0200 |
| commit | 055a1efc7c5a30ca0993720da57ba70179d28c7b (patch) | |
| tree | a64a16a0cf3cc6e3f1f8dff8289b20d6b10549d6 /include/qapi | |
| parent | libqtest: Clean up how we read the QMP greeting (diff) | |
| download | qemu-055a1efc7c5a30ca0993720da57ba70179d28c7b.tar.gz qemu-055a1efc7c5a30ca0993720da57ba70179d28c7b.tar.xz qemu-055a1efc7c5a30ca0993720da57ba70179d28c7b.zip | |
libqtest: Remove qtest_qmp_discard_response() & friends
qtest_qmp_discard_response(...) is shorthand for
qobject_unref(qtest_qmp(...), except it's not actually shorter.
Moreover, the presence of these functions encourage sloppy testing.
Remove them from libqtest. Add them as macros to the tests that use
them, with a TODO comment asking for cleanup.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180806065344.7103-5-armbru@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/qapi')
0 files changed, 0 insertions, 0 deletions
