mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00: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) \
|
||||
$(NULL)
|
||||
|
||||
test_helpers = ssh
|
||||
test_programs = virshtest sockettest \
|
||||
virhostcputest virbuftest \
|
||||
commandtest seclabeltest \
|
||||
@ -113,10 +112,6 @@ endif WITH_QEMU
|
||||
endif WITH_ATTR
|
||||
endif WITH_SECDRIVER_SELINUX
|
||||
|
||||
# This is a fake SSH we use from virnetsockettest
|
||||
ssh_SOURCES = ssh.c
|
||||
ssh_LDADD = $(COVERAGE_LDFLAGS)
|
||||
|
||||
if WITH_LIBXL
|
||||
test_programs += xlconfigtest \
|
||||
xmconfigtest libxlxml2domconfigtest
|
||||
|
@ -187,3 +187,15 @@ executable(
|
||||
libvirt_no_indirect,
|
||||
],
|
||||
)
|
||||
|
||||
# This is a fake SSH we use from virnetsockettest
|
||||
executable(
|
||||
'ssh',
|
||||
[ 'ssh.c' ],
|
||||
dependencies: [
|
||||
tests_dep,
|
||||
],
|
||||
link_args: [
|
||||
coverage_flags,
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user