[libvirt] [PATCH 12/21] tests: qemuxml2argv: add a comment separating DO_TEST* macros

Cole Robinson crobinso at redhat.com
Thu Mar 14 14:44:05 UTC 2019


Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 tests/qemuxml2argvtest.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 130ab29d6e..b555166e82 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -832,6 +832,9 @@ mymain(void)
 # define DO_TEST_CAPS_LATEST_PARSE_ERROR(name) \
     DO_TEST_CAPS_ARCH_LATEST_FULL(name, "x86_64", FLAG_EXPECT_PARSE_ERROR, 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_FULL(name, ...) \
     do { \
         static struct testInfo info = { \
-- 
2.20.1




More information about the libvir-list mailing list