[libvirt] [PATCH 11/21] tests: qemuxml2argv: remove unused DO_TEST_CAPS* macros

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


They are potentially useful at the moment, but we will be making
things much more flexible

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

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 1ce8bade48..130ab29d6e 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -832,16 +832,6 @@ mymain(void)
 # define DO_TEST_CAPS_LATEST_PARSE_ERROR(name) \
     DO_TEST_CAPS_ARCH_LATEST_FULL(name, "x86_64", FLAG_EXPECT_PARSE_ERROR, 0)
 
-/**
- * The following test macros should be used only in cases when the tests require
- * testing of some non-standard combination of capability flags
- */
-# define DO_TEST_CAPS_FULL(name, flags, parseFlags, ver) \
-    DO_TEST_CAPS_ARCH(name, NULL, flags, parseFlags, GIC_NONE, "x86_64", ver)
-
-# define DO_TEST_CAPS(name, ver) \
-    DO_TEST_CAPS_FULL(name, 0, 0, ver)
-
 # define DO_TEST_FULL(name, ...) \
     do { \
         static struct testInfo info = { \
-- 
2.20.1




More information about the libvir-list mailing list