[libvirt] [PATCH 02/11] tests: storagepoolxml2xml: Remove compile conditionals

Peter Krempa pkrempa at redhat.com
Wed Feb 8 16:27:02 UTC 2017


The XML2XML test should work properly even if the storage backend is
disabled, since it does not use it.
---
 tests/storagepoolxml2xmltest.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/storagepoolxml2xmltest.c b/tests/storagepoolxml2xmltest.c
index 98a844926..79bdc26da 100644
--- a/tests/storagepoolxml2xmltest.c
+++ b/tests/storagepoolxml2xmltest.c
@@ -97,16 +97,10 @@ mymain(void)
     DO_TEST("pool-gluster");
     DO_TEST("pool-gluster-sub");
     DO_TEST("pool-scsi-type-scsi-host-stable");
-#ifdef WITH_STORAGE_ZFS
     DO_TEST("pool-zfs");
     DO_TEST("pool-zfs-sourcedev");
-#endif
-#ifdef WITH_STORAGE_RBD
     DO_TEST("pool-rbd");
-#endif
-#ifdef WITH_STORAGE_VSTORAGE
     DO_TEST("pool-vstorage");
-#endif

     return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
 }
-- 
2.11.0




More information about the libvir-list mailing list