mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
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:
parent
0ea2bd054f
commit
a8bf6194fa
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user