[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]