tests: qemuxml2argv: add a comment separating DO_TEST* macros

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2019-03-14 09:43:23 -04:00
parent 0ea2bd054f
commit a8bf6194fa

View File

@ -845,6 +845,7 @@ mymain(void)
# define DO_TEST_CAPS_LATEST_PARSE_ERROR(name) \
DO_TEST_CAPS_ARCH_LATEST_FULL(name, "x86_64", FLAG_EXPECT_PARSE_ERROR, 0)
# define DO_TEST_FULL(name, ...) \
do { \
static struct testInfo info = { \
@ -860,6 +861,9 @@ mymain(void)
virObjectUnref(info.qemuCaps); \
} while (0)
/* All the following macros require an explicit QEMU_CAPS_* list
* at the end of the argument list, or the NONE placeholder.
* */
# define DO_TEST(name, ...) \
DO_TEST_FULL(name, \
ARG_QEMU_CAPS, __VA_ARGS__)