tests: Build virstoragetest only when storage driver is compiled too

virstoragetest now requires parts of the storage driver to be built.
Without this change the test can't be compiled on platforms that don't
build the storage driver (mingw).

make[2]: *** No rule to make target `../src/libvirt_driver_storage_impl.la', needed by `virstoragetest.exe'.  Stop.

Broken by commit 713cc3b0a7
This commit is contained in:
Peter Krempa 2014-06-03 11:47:31 +02:00
parent ce2107a9a0
commit 835dc0133f
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,6 @@ test_programs = virshtest sockettest \
virstringtest \
virportallocatortest \
sysinfotest \
virstoragetest \
virnetdevbandwidthtest \
virkmodtest \
vircapstest \
@ -279,7 +278,8 @@ test_programs += nwfilterxml2firewalltest
endif WITH_NWFILTER
if WITH_STORAGE
test_programs += storagevolxml2argvtest
test_programs += storagevolxml2argvtest \
virstoragetest
endif WITH_STORAGE
if WITH_LINUX