fchosttest: Run the test only under linux
Currently, we have functions to handle fc_host implemented just for linux. On all other platforms an error is thrown. It makes no sense to run the test on those platforms then. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
3f573fbae1
commit
4679e9422a
@ -129,9 +129,12 @@ test_programs = virshtest sockettest \
|
|||||||
virportallocatortest \
|
virportallocatortest \
|
||||||
sysinfotest \
|
sysinfotest \
|
||||||
virstoragetest \
|
virstoragetest \
|
||||||
fchosttest \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
if WITH_LINUX
|
||||||
|
test_programs += fchosttest
|
||||||
|
endif WITH_LINUX
|
||||||
|
|
||||||
if WITH_LIBVIRTD
|
if WITH_LIBVIRTD
|
||||||
test_programs += fdstreamtest
|
test_programs += fdstreamtest
|
||||||
endif WITH_LIBVIRTD
|
endif WITH_LIBVIRTD
|
||||||
@ -845,10 +848,15 @@ fdstreamtest_SOURCES = \
|
|||||||
fdstreamtest.c testutils.h testutils.c
|
fdstreamtest.c testutils.h testutils.c
|
||||||
fdstreamtest_LDADD = $(LDADDS)
|
fdstreamtest_LDADD = $(LDADDS)
|
||||||
|
|
||||||
|
if WITH_LINUX
|
||||||
fchosttest_SOURCES = \
|
fchosttest_SOURCES = \
|
||||||
fchosttest.c testutils.h testutils.c
|
fchosttest.c testutils.h testutils.c
|
||||||
fchosttest_LDADD = $(LDADDS)
|
fchosttest_LDADD = $(LDADDS)
|
||||||
|
|
||||||
|
else ! WITH_LINUX
|
||||||
|
EXTRA_DIST += fchosttest.c
|
||||||
|
endif ! WITH_LINUX
|
||||||
|
|
||||||
if WITH_CIL
|
if WITH_CIL
|
||||||
CILOPTFLAGS =
|
CILOPTFLAGS =
|
||||||
CILOPTINCS =
|
CILOPTINCS =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user