提交 a8bf6194 编写于 作者: C Cole Robinson

tests: qemuxml2argv: add a comment separating DO_TEST* macros

Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
Signed-off-by: NCole Robinson <crobinso@redhat.com>
上级 0ea2bd05
......@@ -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__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册