]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
test: Disable storage test when FS backend isn't compiled in
authorPeter Krempa <pkrempa@redhat.com>
Mon, 23 Jun 2014 10:02:04 +0000 (12:02 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 23 Jun 2014 11:20:21 +0000 (13:20 +0200)
'virstoragetest' accesses backing chains of files on local storage with
the help of the storage driver. Disable the test on builds without the
storage driver as the test is crashing otherwise.

Reported by: Roman Bogorodskiy

tests/Makefile.am

index c99906158b11efcb7f49cbc1e4c765aee3df8c7d..2f762a6d048bcecdbd25cae482ad35233e5ea11e 100644 (file)
@@ -285,10 +285,13 @@ test_programs += nwfilterxml2firewalltest
 endif WITH_NWFILTER
 
 if WITH_STORAGE
-test_programs += storagevolxml2argvtest \
-       virstoragetest
+test_programs += storagevolxml2argvtest
 endif WITH_STORAGE
 
+if WITH_STORAGE_FS
+test_programs += virstoragetest
+endif
+
 if WITH_LINUX
 test_programs += virscsitest
 endif WITH_LINUX