mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 17:57:43 +03:00
meson: tests: build fake ssh binary
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
8fe8df4b20
commit
9d8887fc80
@ -35,7 +35,6 @@ LDADDS = \
|
|||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
test_helpers = ssh
|
|
||||||
test_programs = virshtest sockettest \
|
test_programs = virshtest sockettest \
|
||||||
virhostcputest virbuftest \
|
virhostcputest virbuftest \
|
||||||
commandtest seclabeltest \
|
commandtest seclabeltest \
|
||||||
@ -113,10 +112,6 @@ endif WITH_QEMU
|
|||||||
endif WITH_ATTR
|
endif WITH_ATTR
|
||||||
endif WITH_SECDRIVER_SELINUX
|
endif WITH_SECDRIVER_SELINUX
|
||||||
|
|
||||||
# This is a fake SSH we use from virnetsockettest
|
|
||||||
ssh_SOURCES = ssh.c
|
|
||||||
ssh_LDADD = $(COVERAGE_LDFLAGS)
|
|
||||||
|
|
||||||
if WITH_LIBXL
|
if WITH_LIBXL
|
||||||
test_programs += xlconfigtest \
|
test_programs += xlconfigtest \
|
||||||
xmconfigtest libxlxml2domconfigtest
|
xmconfigtest libxlxml2domconfigtest
|
||||||
|
@ -187,3 +187,15 @@ executable(
|
|||||||
libvirt_no_indirect,
|
libvirt_no_indirect,
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# This is a fake SSH we use from virnetsockettest
|
||||||
|
executable(
|
||||||
|
'ssh',
|
||||||
|
[ 'ssh.c' ],
|
||||||
|
dependencies: [
|
||||||
|
tests_dep,
|
||||||
|
],
|
||||||
|
link_args: [
|
||||||
|
coverage_flags,
|
||||||
|
],
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user