From: Peter Krempa Date: Mon, 23 Jun 2014 10:02:04 +0000 (+0200) Subject: test: Disable storage test when FS backend isn't compiled in X-Git-Tag: v1.2.6-rc1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd11151791bc9e61538988438980f41c0185681;p=thirdparty%2Flibvirt.git test: Disable storage test when FS backend isn't compiled in '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 --- diff --git a/tests/Makefile.am b/tests/Makefile.am index c99906158b..2f762a6d04 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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