2006-05-09 15:35:46 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2019-03-22 22:23:09 +00:00
|
|
|
## Copyright (C) 2005-2019 Red Hat, Inc.
|
2013-05-14 23:42:12 +00:00
|
|
|
##
|
|
|
|
## This library is free software; you can redistribute it and/or
|
|
|
|
## modify it under the terms of the GNU Lesser General Public
|
|
|
|
## License as published by the Free Software Foundation; either
|
|
|
|
## version 2.1 of the License, or (at your option) any later version.
|
|
|
|
##
|
|
|
|
## This library is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
## Lesser General Public License for more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU Lesser General Public
|
|
|
|
## License along with this library. If not, see
|
|
|
|
## <http://www.gnu.org/licenses/>.
|
2011-07-28 18:56:24 +00:00
|
|
|
|
2013-09-27 23:09:20 +00:00
|
|
|
if WITH_REMOTE
|
|
|
|
test_programs += \
|
|
|
|
virnetmessagetest \
|
|
|
|
virnetsockettest \
|
2015-06-11 12:02:30 +00:00
|
|
|
virnetdaemontest \
|
2013-09-27 23:09:20 +00:00
|
|
|
virnetserverclienttest \
|
2018-06-05 11:39:28 +00:00
|
|
|
virnettlscontexttest \
|
|
|
|
virnettlssessiontest \
|
2013-09-27 23:09:20 +00:00
|
|
|
$(NULL)
|
|
|
|
endif WITH_REMOTE
|
|
|
|
|
2013-09-03 21:55:21 +00:00
|
|
|
if WITH_LIBVIRTD
|
|
|
|
test_programs += fdstreamtest
|
|
|
|
endif WITH_LIBVIRTD
|
|
|
|
|
2012-08-10 13:31:14 +00:00
|
|
|
if WITH_SECDRIVER_SELINUX
|
2013-08-21 06:52:20 +00:00
|
|
|
if WITH_ATTR
|
2014-04-04 13:27:24 +00:00
|
|
|
test_programs += securityselinuxtest \
|
|
|
|
viridentitytest
|
2013-01-30 15:44:06 +00:00
|
|
|
if WITH_QEMU
|
2012-09-19 13:00:34 +00:00
|
|
|
test_programs += securityselinuxlabeltest
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_QEMU
|
|
|
|
endif WITH_ATTR
|
|
|
|
endif WITH_SECDRIVER_SELINUX
|
2012-08-10 13:31:14 +00:00
|
|
|
|
2014-12-16 04:30:05 +00:00
|
|
|
if WITH_LIBXL
|
2019-07-03 06:36:09 +00:00
|
|
|
test_programs += xlconfigtest \
|
2016-12-30 21:43:43 +00:00
|
|
|
xmconfigtest libxlxml2domconfigtest
|
2014-12-16 04:30:05 +00:00
|
|
|
endif WITH_LIBXL
|
|
|
|
|
2008-11-18 12:46:13 +00:00
|
|
|
if WITH_QEMU
|
2018-02-09 15:08:53 +00:00
|
|
|
test_programs += qemuxml2argvtest qemuxml2xmltest \
|
backup: Parse and output checkpoint XML
Add a new file checkpoint_conf.c that performs the translation to and
from new XML describing a checkpoint. The code shares a common base
class with snapshots, since a checkpoint similarly represents the
domain state at a moment in time. Add some basic testing of round trip
XML handling through the new code.
Of note - this code intentionally differs from snapshots in that XML
schema validation is unconditional, rather than based on a public API
flag. We have many existing interfaces that still need to add a flag
for opt-in schema validation, but those interfaces have existing
clients that may not have been producing strictly-compliant XML, or we
may still uncover bugs where our RNG grammar is inconsistent with our
code (where omitting the opt-in flag allows existing apps to keep
working while waiting for an RNG patch). But since checkpoints are
brand-new, it's easier to ensure the code matches the schema by always
using the schema. If needed, a later patch could extend the API and
add a flag to turn on to request schema validation, rather than having
it forced (possibly just the validation of the <domain> sub-element
during REDEFINE) - but if a user encounters XML that looks like it
should be good but fails to validate with our RNG schema, they would
either have to upgrade to a new libvirt that adds the new flag, or
upgrade to a new libvirt that fixes the RNG schema, which implies
adding such a flag won't help much.
Also, the redefine flag requires the <domain> sub-element to be
present, rather than catering to historical back-compat to older
versions.
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-07-08 02:01:14 +00:00
|
|
|
qemudomaincheckpointxml2xmltest qemudomainsnapshotxml2xmltest \
|
2018-05-22 12:00:38 +00:00
|
|
|
qemumonitorjsontest qemuhotplugtest \
|
2015-01-13 17:19:34 +00:00
|
|
|
qemuagenttest qemucapabilitiestest qemucaps2xmltest \
|
2017-03-23 13:06:57 +00:00
|
|
|
qemumemlocktest \
|
2017-11-03 14:20:55 +00:00
|
|
|
qemucommandutiltest \
|
|
|
|
qemublocktest \
|
2018-03-19 22:45:51 +00:00
|
|
|
qemumigparamstest \
|
2018-12-07 12:21:43 +00:00
|
|
|
qemusecuritytest \
|
2019-02-19 16:35:43 +00:00
|
|
|
qemufirmwaretest \
|
2019-09-23 10:44:33 +00:00
|
|
|
qemuvhostusertest \
|
2017-11-03 14:20:55 +00:00
|
|
|
$(NULL)
|
2016-04-26 13:04:55 +00:00
|
|
|
test_helpers += qemucapsprobe
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_QEMU
|
2008-11-18 12:46:13 +00:00
|
|
|
|
2012-03-26 17:09:31 +00:00
|
|
|
if WITH_LXC
|
2014-02-05 14:10:00 +00:00
|
|
|
test_programs += lxcxml2xmltest lxcconf2xmltest
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_LXC
|
2012-03-26 17:09:31 +00:00
|
|
|
|
2011-05-26 17:45:41 +00:00
|
|
|
if WITH_OPENVZ
|
2012-03-27 15:35:01 +00:00
|
|
|
test_programs += openvzutilstest
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_OPENVZ
|
2011-05-26 17:45:41 +00:00
|
|
|
|
2014-05-19 12:47:31 +00:00
|
|
|
if WITH_VBOX
|
|
|
|
test_programs += vboxsnapshotxmltest
|
|
|
|
endif WITH_VBOX
|
|
|
|
|
2010-12-21 21:39:55 +00:00
|
|
|
if WITH_VMX
|
2012-03-27 15:35:01 +00:00
|
|
|
test_programs += vmx2xmltest xml2vmxtest
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_VMX
|
2009-09-23 12:25:52 +00:00
|
|
|
|
2013-09-18 14:30:35 +00:00
|
|
|
if WITH_VMWARE
|
|
|
|
test_programs += vmwarevertest
|
|
|
|
endif WITH_VMWARE
|
|
|
|
|
2018-08-13 11:40:18 +00:00
|
|
|
if WITH_YAJL
|
2017-06-26 14:47:26 +00:00
|
|
|
test_programs += virjsontest
|
2018-08-13 11:40:18 +00:00
|
|
|
endif WITH_YAJL
|
2011-06-30 14:08:29 +00:00
|
|
|
|
2011-07-05 13:26:18 +00:00
|
|
|
if WITH_NETWORK
|
2014-03-20 10:30:44 +00:00
|
|
|
test_programs += \
|
2019-07-14 22:25:12 +00:00
|
|
|
networkxml2xmltest \
|
2014-03-20 10:30:44 +00:00
|
|
|
networkxml2conftest \
|
|
|
|
networkxml2firewalltest \
|
|
|
|
$(NULL)
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_NETWORK
|
2011-06-24 10:04:37 +00:00
|
|
|
|
2012-07-18 19:06:58 +00:00
|
|
|
if WITH_STORAGE_SHEEPDOG
|
|
|
|
test_programs += storagebackendsheepdogtest
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_STORAGE_SHEEPDOG
|
2012-07-18 19:06:58 +00:00
|
|
|
|
2014-03-14 11:53:06 +00:00
|
|
|
if WITH_NWFILTER
|
|
|
|
test_programs += nwfilterebiptablestest
|
2014-04-01 06:19:38 +00:00
|
|
|
test_programs += nwfilterxml2firewalltest
|
2014-03-14 11:53:06 +00:00
|
|
|
endif WITH_NWFILTER
|
|
|
|
|
2013-04-15 16:01:02 +00:00
|
|
|
if WITH_STORAGE
|
2014-06-23 10:02:04 +00:00
|
|
|
test_programs += storagevolxml2argvtest
|
2018-12-04 11:16:23 +00:00
|
|
|
test_programs += storagepoolxml2argvtest
|
2017-03-28 15:23:37 +00:00
|
|
|
test_programs += virstorageutiltest
|
2019-01-30 14:29:37 +00:00
|
|
|
test_programs += storagepoolxml2xmltest
|
2019-02-07 17:07:16 +00:00
|
|
|
test_programs += storagepoolcapstest
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_STORAGE
|
2013-02-18 12:43:28 +00:00
|
|
|
|
2014-06-23 10:02:04 +00:00
|
|
|
if WITH_STORAGE_FS
|
|
|
|
test_programs += virstoragetest
|
2014-06-23 11:56:12 +00:00
|
|
|
endif WITH_STORAGE_FS
|
2014-06-23 10:02:04 +00:00
|
|
|
|
2016-03-19 16:56:02 +00:00
|
|
|
if WITH_NSS
|
2016-11-29 12:48:53 +00:00
|
|
|
test_helpers += nsslinktest nssguestlinktest
|
|
|
|
test_programs += nsstest nssguesttest
|
2016-03-19 16:56:02 +00:00
|
|
|
endif WITH_NSS
|
|
|
|
|
2020-06-18 21:06:01 +00:00
|
|
|
if WITH_NODE_DEVICES
|
|
|
|
test_programs += nodedevmdevctltest
|
|
|
|
endif WITH_NODE_DEVICES
|
|
|
|
|
2016-06-07 16:54:43 +00:00
|
|
|
test_scripts =
|
2017-11-03 12:09:47 +00:00
|
|
|
libvirtd_test_scripts = \
|
|
|
|
libvirtd-fail \
|
|
|
|
libvirtd-pool \
|
2020-03-05 15:42:53 +00:00
|
|
|
virsh-auth \
|
2017-11-03 12:09:47 +00:00
|
|
|
virsh-cpuset \
|
|
|
|
virsh-define-dev-segfault \
|
|
|
|
virsh-int-overflow \
|
|
|
|
virsh-optparse \
|
|
|
|
virsh-read-bufsiz \
|
|
|
|
virsh-read-non-seekable \
|
|
|
|
virsh-schedinfo \
|
|
|
|
virsh-self-test \
|
|
|
|
virt-admin-self-test \
|
2019-07-06 15:48:59 +00:00
|
|
|
virsh-checkpoint \
|
2019-03-22 22:23:09 +00:00
|
|
|
virsh-snapshot \
|
2017-11-03 12:09:47 +00:00
|
|
|
virsh-start \
|
|
|
|
virsh-undefine \
|
|
|
|
virsh-uriprecedence \
|
|
|
|
virsh-vcpupin \
|
2012-09-12 17:25:51 +00:00
|
|
|
$(NULL)
|
2012-03-27 15:35:01 +00:00
|
|
|
|
2016-04-21 15:24:21 +00:00
|
|
|
if WITH_LIBVIRTD
|
|
|
|
test_scripts += $(libvirtd_test_scripts)
|
|
|
|
|
2017-11-03 12:09:47 +00:00
|
|
|
test_programs += \
|
2017-07-28 09:54:37 +00:00
|
|
|
eventtest \
|
2019-10-09 19:11:44 +00:00
|
|
|
virdrivermoduletest \
|
|
|
|
virdriverconnvalidatetest
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_LIBVIRTD
|
2007-12-11 21:20:13 +00:00
|
|
|
|
2009-10-08 14:34:22 +00:00
|
|
|
if WITH_SECDRIVER_APPARMOR
|
2017-07-28 09:49:38 +00:00
|
|
|
if WITH_LIBVIRTD
|
2009-10-08 14:34:22 +00:00
|
|
|
test_scripts += virt-aa-helper-test
|
2017-07-28 09:49:38 +00:00
|
|
|
endif WITH_LIBVIRTD
|
|
|
|
endif WITH_SECDRIVER_APPARMOR
|
2007-11-14 10:35:58 +00:00
|
|
|
|
2016-04-18 14:15:35 +00:00
|
|
|
if WITH_LINUX
|
|
|
|
check-access: file-access-clean
|
|
|
|
VIR_TEST_FILE_ACCESS=1 $(MAKE) $(AM_MAKEFLAGS) check
|
2019-08-30 12:22:54 +00:00
|
|
|
$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-file-access.py \
|
2019-12-04 13:58:04 +00:00
|
|
|
$(abs_builddir)/test_file_access.txt \
|
2020-06-16 08:39:12 +00:00
|
|
|
$(abs_srcdir)/permitted_file_access.txt | sort -u
|
2016-04-18 14:15:35 +00:00
|
|
|
|
|
|
|
file-access-clean:
|
|
|
|
> test_file_access.txt
|
|
|
|
endif WITH_LINUX
|
|
|
|
|
2012-03-27 15:35:01 +00:00
|
|
|
noinst_PROGRAMS = $(test_programs) $(test_helpers)
|
2011-06-24 10:04:37 +00:00
|
|
|
|
2012-03-27 15:35:01 +00:00
|
|
|
TESTS = $(test_programs) \
|
|
|
|
$(test_scripts)
|
2010-10-07 14:35:17 +00:00
|
|
|
|
2017-02-03 12:15:43 +00:00
|
|
|
VALGRIND = valgrind --quiet --leak-check=full --trace-children=yes \
|
2020-02-21 23:51:41 +00:00
|
|
|
--trace-children-skip="*/tools/virsh","*/tests/commandhelper","/usr/bin/*" \
|
2019-03-11 13:19:00 +00:00
|
|
|
--suppressions=$(abs_srcdir)/.valgrind.supp
|
2006-08-24 16:00:19 +00:00
|
|
|
valgrind:
|
2018-05-02 16:54:08 +00:00
|
|
|
$(MAKE) check VG="$(LIBTOOL) --mode=execute $(VALGRIND)"
|
2006-08-24 16:00:19 +00:00
|
|
|
|
2015-01-20 23:45:09 +00:00
|
|
|
if WITH_LIBXL
|
2019-12-03 17:29:23 +00:00
|
|
|
libxl_LDADDS = \
|
|
|
|
../src/libvirt_driver_libxl_impl.la \
|
|
|
|
$(LDADDS) \
|
|
|
|
$(NULL)
|
2015-01-20 23:45:09 +00:00
|
|
|
|
|
|
|
xlconfigtest_SOURCES = \
|
|
|
|
xlconfigtest.c testutilsxen.c testutilsxen.h \
|
|
|
|
testutils.c testutils.h
|
2020-02-22 13:51:05 +00:00
|
|
|
xlconfigtest_LDADD = libxltestdriver.la \
|
|
|
|
$(libxl_LDADDS)
|
2017-08-01 13:17:51 +00:00
|
|
|
|
2016-12-30 21:43:43 +00:00
|
|
|
xmconfigtest_SOURCES = \
|
|
|
|
xmconfigtest.c testutilsxen.c testutilsxen.h \
|
|
|
|
testutils.c testutils.h
|
2020-02-22 13:51:05 +00:00
|
|
|
xmconfigtest_LDADD = libxltestdriver.la \
|
|
|
|
$(libxl_LDADDS)
|
2016-12-30 21:43:43 +00:00
|
|
|
|
2017-08-01 13:17:51 +00:00
|
|
|
libxlxml2domconfigtest_SOURCES = \
|
|
|
|
libxlxml2domconfigtest.c testutilsxen.c testutilsxen.h \
|
|
|
|
testutils.c testutils.h
|
2020-02-22 13:51:05 +00:00
|
|
|
libxlxml2domconfigtest_LDADD = libxltestdriver.la \
|
|
|
|
$(libxl_LDADDS) $(LIBXML_LIBS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_LIBXL
|
2015-01-20 23:45:09 +00:00
|
|
|
|
2008-11-18 12:46:13 +00:00
|
|
|
if WITH_QEMU
|
2011-07-04 06:27:12 +00:00
|
|
|
|
2012-08-02 12:10:31 +00:00
|
|
|
qemu_LDADDS = ../src/libvirt_driver_qemu_impl.la
|
2012-04-02 17:24:29 +00:00
|
|
|
if WITH_DTRACE_PROBES
|
2012-05-25 15:57:56 +00:00
|
|
|
qemu_LDADDS += ../src/libvirt_qemu_probes.lo
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_DTRACE_PROBES
|
2019-06-11 15:16:57 +00:00
|
|
|
qemu_LDADDS += $(LDADDS)
|
2016-04-26 12:58:56 +00:00
|
|
|
|
2007-07-18 21:34:22 +00:00
|
|
|
qemuxml2argvtest_SOURCES = \
|
2008-05-16 16:51:30 +00:00
|
|
|
qemuxml2argvtest.c testutilsqemu.c testutilsqemu.h \
|
2019-02-25 13:15:28 +00:00
|
|
|
testutils.c testutils.h \
|
|
|
|
virfilewrapper.c virfilewrapper.h \
|
|
|
|
$(NULL)
|
2020-05-15 12:33:10 +00:00
|
|
|
qemuxml2argvtest_LDADD = libqemutestdriver.la libqemumonitortestutils.la \
|
2018-01-25 09:35:50 +00:00
|
|
|
$(LDADDS) $(LIBXML_LIBS)
|
2007-07-18 21:34:22 +00:00
|
|
|
|
|
|
|
qemuxml2xmltest_SOURCES = \
|
2008-05-16 16:51:30 +00:00
|
|
|
qemuxml2xmltest.c testutilsqemu.c testutilsqemu.h \
|
2019-08-12 15:06:22 +00:00
|
|
|
testutils.c testutils.h \
|
|
|
|
virfilewrapper.c virfilewrapper.h
|
2019-06-11 15:16:57 +00:00
|
|
|
qemuxml2xmltest_LDADD = $(qemu_LDADDS)
|
2009-05-21 14:22:51 +00:00
|
|
|
|
2012-08-20 12:31:29 +00:00
|
|
|
qemumonitorjsontest_SOURCES = \
|
|
|
|
qemumonitorjsontest.c \
|
|
|
|
testutils.c testutils.h \
|
|
|
|
testutilsqemu.c testutilsqemu.h \
|
|
|
|
$(NULL)
|
2014-07-03 12:09:55 +00:00
|
|
|
qemumonitorjsontest_LDADD = libqemumonitortestutils.la \
|
2019-06-11 15:16:57 +00:00
|
|
|
$(qemu_LDADDS)
|
2012-08-20 12:31:29 +00:00
|
|
|
|
2013-09-19 11:44:41 +00:00
|
|
|
qemucapabilitiestest_SOURCES = \
|
|
|
|
qemucapabilitiestest.c \
|
|
|
|
testutils.c testutils.h \
|
|
|
|
testutilsqemu.c testutilsqemu.h \
|
|
|
|
$(NULL)
|
2014-07-03 12:09:55 +00:00
|
|
|
qemucapabilitiestest_LDADD = libqemumonitortestutils.la \
|
2019-06-11 15:16:57 +00:00
|
|
|
$(qemu_LDADDS)
|
2013-09-19 11:44:41 +00:00
|
|
|
|
2016-04-26 13:04:55 +00:00
|
|
|
qemucapsprobe_SOURCES = \
|
|
|
|
qemucapsprobe.c
|
|
|
|
qemucapsprobe_LDADD = \
|
|
|
|
libqemutestdriver.la $(LDADDS)
|
|
|
|
|
2015-01-13 17:19:34 +00:00
|
|
|
qemucommandutiltest_SOURCES = \
|
|
|
|
qemucommandutiltest.c \
|
|
|
|
testutils.c testutils.h \
|
|
|
|
testutilsqemu.c testutilsqemu.h \
|
|
|
|
$(NULL)
|
|
|
|
qemucommandutiltest_LDADD = libqemumonitortestutils.la \
|
2019-06-11 15:16:57 +00:00
|
|
|
$(qemu_LDADDS)
|
2015-01-13 17:19:34 +00:00
|
|
|
|
2014-03-17 15:19:46 +00:00
|
|
|
qemucaps2xmltest_SOURCES = \
|
|
|
|
qemucaps2xmltest.c \
|
|
|
|
testutils.c testutils.h \
|
2019-03-06 17:21:31 +00:00
|
|
|
testutilsqemu.c testutilsqemu.h \
|
2014-03-17 15:19:46 +00:00
|
|
|
$(NULL)
|
2019-06-11 15:16:57 +00:00
|
|
|
qemucaps2xmltest_LDADD = $(qemu_LDADDS)
|
2014-03-17 15:19:46 +00:00
|
|
|
|
2013-07-24 08:15:37 +00:00
|
|
|
qemuagenttest_SOURCES = \
|
|
|
|
qemuagenttest.c \
|
|
|
|
testutils.c testutils.h \
|
|
|
|
testutilsqemu.c testutilsqemu.h \
|
|
|
|
$(NULL)
|
2019-06-11 15:16:57 +00:00
|
|
|
qemuagenttest_LDADD = libqemumonitortestutils.la $(qemu_LDADDS)
|
2013-07-24 08:15:37 +00:00
|
|
|
|
2013-06-21 14:27:59 +00:00
|
|
|
qemuhotplugtest_SOURCES = \
|
|
|
|
qemuhotplugtest.c \
|
|
|
|
testutils.c testutils.h \
|
|
|
|
testutilsqemu.c testutilsqemu.h \
|
|
|
|
$(NULL)
|
2019-10-18 18:36:32 +00:00
|
|
|
qemuhotplugtest_LDADD = \
|
|
|
|
libqemutestdriver.la \
|
|
|
|
libqemumonitortestutils.la \
|
|
|
|
$(qemu_LDADDS) \
|
|
|
|
$(NULL)
|
2013-06-21 14:27:59 +00:00
|
|
|
|
2017-11-03 14:20:55 +00:00
|
|
|
qemublocktest_SOURCES = \
|
2018-03-23 07:16:09 +00:00
|
|
|
qemublocktest.c \
|
|
|
|
testutils.h testutils.c \
|
2018-03-23 08:06:40 +00:00
|
|
|
testutilsqemu.h testutilsqemu.c \
|
2018-03-23 07:16:09 +00:00
|
|
|
$(NULL)
|
|
|
|
qemublocktest_LDADD = \
|
2018-03-23 08:06:40 +00:00
|
|
|
libqemumonitortestutils.la \
|
2019-11-27 17:11:20 +00:00
|
|
|
../src/libvirt.la \
|
2017-11-03 14:20:55 +00:00
|
|
|
$(qemu_LDADDS) \
|
|
|
|
$(NULL)
|
|
|
|
|
backup: Parse and output checkpoint XML
Add a new file checkpoint_conf.c that performs the translation to and
from new XML describing a checkpoint. The code shares a common base
class with snapshots, since a checkpoint similarly represents the
domain state at a moment in time. Add some basic testing of round trip
XML handling through the new code.
Of note - this code intentionally differs from snapshots in that XML
schema validation is unconditional, rather than based on a public API
flag. We have many existing interfaces that still need to add a flag
for opt-in schema validation, but those interfaces have existing
clients that may not have been producing strictly-compliant XML, or we
may still uncover bugs where our RNG grammar is inconsistent with our
code (where omitting the opt-in flag allows existing apps to keep
working while waiting for an RNG patch). But since checkpoints are
brand-new, it's easier to ensure the code matches the schema by always
using the schema. If needed, a later patch could extend the API and
add a flag to turn on to request schema validation, rather than having
it forced (possibly just the validation of the <domain> sub-element
during REDEFINE) - but if a user encounters XML that looks like it
should be good but fails to validate with our RNG schema, they would
either have to upgrade to a new libvirt that adds the new flag, or
upgrade to a new libvirt that fixes the RNG schema, which implies
adding such a flag won't help much.
Also, the redefine flag requires the <domain> sub-element to be
present, rather than catering to historical back-compat to older
versions.
Signed-off-by: Eric Blake <eblake@redhat.com>
2018-07-08 02:01:14 +00:00
|
|
|
qemudomaincheckpointxml2xmltest_SOURCES = \
|
|
|
|
qemudomaincheckpointxml2xmltest.c testutilsqemu.c testutilsqemu.h \
|
|
|
|
testutils.c testutils.h
|
|
|
|
qemudomaincheckpointxml2xmltest_LDADD = $(qemu_LDADDS)
|
|
|
|
|
2019-07-05 18:24:40 +00:00
|
|
|
qemudomainsnapshotxml2xmltest_SOURCES = \
|
|
|
|
qemudomainsnapshotxml2xmltest.c testutilsqemu.c testutilsqemu.h \
|
2011-09-22 20:29:00 +00:00
|
|
|
testutils.c testutils.h
|
2019-07-05 18:24:40 +00:00
|
|
|
qemudomainsnapshotxml2xmltest_LDADD = $(qemu_LDADDS)
|
2017-03-23 13:06:57 +00:00
|
|
|
|
|
|
|
qemumemlocktest_SOURCES = \
|
|
|
|
qemumemlocktest.c \
|
|
|
|
testutilsqemu.c testutilsqemu.h \
|
|
|
|
testutils.c testutils.h
|
2019-06-11 15:16:57 +00:00
|
|
|
qemumemlocktest_LDADD = $(qemu_LDADDS)
|
2018-03-19 22:45:51 +00:00
|
|
|
|
|
|
|
qemumigparamstest_SOURCES = \
|
|
|
|
qemumigparamstest.c \
|
|
|
|
testutils.c testutils.h \
|
|
|
|
testutilsqemu.c testutilsqemu.h \
|
|
|
|
$(NULL)
|
|
|
|
qemumigparamstest_LDADD = libqemumonitortestutils.la \
|
2019-06-11 15:16:57 +00:00
|
|
|
$(qemu_LDADDS)
|
2018-03-19 22:45:51 +00:00
|
|
|
|
2018-12-07 12:21:43 +00:00
|
|
|
qemusecuritytest_SOURCES = \
|
|
|
|
qemusecuritytest.c qemusecuritytest.h \
|
|
|
|
qemusecuritymock.c \
|
|
|
|
testutils.h testutils.c \
|
|
|
|
testutilsqemu.h testutilsqemu.c
|
2019-06-11 15:16:57 +00:00
|
|
|
qemusecuritytest_LDADD = $(qemu_LDADDS)
|
2018-12-07 12:21:43 +00:00
|
|
|
|
2019-02-19 16:35:43 +00:00
|
|
|
qemufirmwaretest_SOURCES = \
|
|
|
|
qemufirmwaretest.c \
|
|
|
|
testutils.h testutils.c \
|
2019-02-21 14:24:00 +00:00
|
|
|
virfilewrapper.c virfilewrapper.h \
|
2019-02-19 16:35:43 +00:00
|
|
|
$(NULL)
|
2019-06-11 15:16:57 +00:00
|
|
|
qemufirmwaretest_LDADD = $(qemu_LDADDS)
|
2019-02-19 16:35:43 +00:00
|
|
|
|
2019-09-23 10:44:33 +00:00
|
|
|
qemuvhostusertest_SOURCES = \
|
|
|
|
qemuvhostusertest.c \
|
|
|
|
testutils.h testutils.c \
|
|
|
|
virfilewrapper.c virfilewrapper.h \
|
|
|
|
$(NULL)
|
|
|
|
qemuvhostusertest_LDADD = $(qemu_LDADDS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_QEMU
|
2007-07-18 21:34:22 +00:00
|
|
|
|
2012-03-26 17:09:31 +00:00
|
|
|
if WITH_LXC
|
|
|
|
|
2019-12-03 17:29:23 +00:00
|
|
|
lxc_LDADDS = \
|
|
|
|
../src/libvirt_driver_lxc_impl.la \
|
|
|
|
$(LDADDS) \
|
|
|
|
$(NULL)
|
2012-03-26 17:09:31 +00:00
|
|
|
|
|
|
|
lxcxml2xmltest_SOURCES = \
|
|
|
|
lxcxml2xmltest.c testutilslxc.c testutilslxc.h \
|
|
|
|
testutils.c testutils.h
|
2012-04-02 15:45:01 +00:00
|
|
|
lxcxml2xmltest_LDADD = $(lxc_LDADDS)
|
2014-02-05 14:10:00 +00:00
|
|
|
|
|
|
|
lxcconf2xmltest_SOURCES = \
|
2015-11-29 02:55:32 +00:00
|
|
|
lxcconf2xmltest.c testutilslxc.c testutilslxc.h \
|
2014-02-05 14:10:00 +00:00
|
|
|
testutils.c testutils.h
|
|
|
|
lxcconf2xmltest_LDADD = $(lxc_LDADDS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_LXC
|
2012-03-26 17:09:31 +00:00
|
|
|
|
2011-05-26 17:45:41 +00:00
|
|
|
if WITH_OPENVZ
|
|
|
|
openvzutilstest_SOURCES = \
|
|
|
|
openvzutilstest.c \
|
|
|
|
testutils.c testutils.h
|
2019-11-26 19:40:46 +00:00
|
|
|
openvzutilstest_LDADD = $(LDADDS) \
|
|
|
|
../src/libvirt_driver_openvz.la
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_OPENVZ
|
2011-05-26 17:45:41 +00:00
|
|
|
|
2014-05-19 12:47:31 +00:00
|
|
|
if WITH_VBOX
|
|
|
|
vboxsnapshotxmltest_SOURCES = \
|
|
|
|
vboxsnapshotxmltest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
vbox_LDADDS = ../src/libvirt_driver_vbox_impl.la
|
|
|
|
vboxsnapshotxmltest_LDADD = $(LDADDS) $(vbox_LDADDS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_VBOX
|
2014-05-19 12:47:31 +00:00
|
|
|
|
2010-12-21 21:39:55 +00:00
|
|
|
if WITH_VMX
|
2009-09-23 12:25:52 +00:00
|
|
|
vmx2xmltest_SOURCES = \
|
|
|
|
vmx2xmltest.c \
|
|
|
|
testutils.c testutils.h
|
2012-04-02 15:45:01 +00:00
|
|
|
vmx2xmltest_LDADD = $(LDADDS)
|
2009-09-23 12:25:52 +00:00
|
|
|
|
|
|
|
xml2vmxtest_SOURCES = \
|
|
|
|
xml2vmxtest.c \
|
|
|
|
testutils.c testutils.h
|
2012-04-02 15:45:01 +00:00
|
|
|
xml2vmxtest_LDADD = $(LDADDS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_VMX
|
2009-09-23 12:25:52 +00:00
|
|
|
|
2013-09-18 14:30:35 +00:00
|
|
|
if WITH_VMWARE
|
|
|
|
vmwarevertest_SOURCES = \
|
|
|
|
vmwarevertest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
vmwarevertest_LDADD = $(LDADDS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_VMWARE
|
2013-09-18 14:30:35 +00:00
|
|
|
|
2011-07-05 13:26:18 +00:00
|
|
|
if WITH_NETWORK
|
2019-07-14 22:25:12 +00:00
|
|
|
networkxml2xmltest_SOURCES = \
|
|
|
|
networkxml2xmltest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
networkxml2xmltest_LDADD = ../src/libvirt_driver_network_impl.la $(LDADDS)
|
|
|
|
|
2012-12-06 17:20:39 +00:00
|
|
|
networkxml2conftest_SOURCES = \
|
|
|
|
networkxml2conftest.c \
|
2011-06-24 10:04:37 +00:00
|
|
|
testutils.c testutils.h
|
2012-12-06 17:20:39 +00:00
|
|
|
networkxml2conftest_LDADD = ../src/libvirt_driver_network_impl.la $(LDADDS)
|
2014-03-20 10:30:44 +00:00
|
|
|
|
|
|
|
networkxml2firewalltest_SOURCES = \
|
|
|
|
networkxml2firewalltest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
networkxml2firewalltest_LDADD = ../src/libvirt_driver_network_impl.la $(LDADDS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_NETWORK
|
2011-06-24 10:04:37 +00:00
|
|
|
|
2012-07-18 19:06:58 +00:00
|
|
|
if WITH_STORAGE_SHEEPDOG
|
|
|
|
storagebackendsheepdogtest_SOURCES = \
|
|
|
|
storagebackendsheepdogtest.c \
|
|
|
|
testutils.c testutils.h
|
2012-08-21 12:50:28 +00:00
|
|
|
storagebackendsheepdogtest_LDADD = \
|
2017-02-07 18:40:29 +00:00
|
|
|
../src/libvirt_storage_backend_sheepdog_priv.la \
|
2018-02-26 17:54:12 +00:00
|
|
|
../src/libvirt_driver_storage_impl.la \
|
2017-02-07 18:40:29 +00:00
|
|
|
$(LDADDS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_STORAGE_SHEEPDOG
|
2012-07-18 19:06:58 +00:00
|
|
|
|
2014-03-14 11:53:06 +00:00
|
|
|
if WITH_NWFILTER
|
|
|
|
nwfilterebiptablestest_SOURCES = \
|
|
|
|
nwfilterebiptablestest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
nwfilterebiptablestest_LDADD = ../src/libvirt_driver_nwfilter_impl.la $(LDADDS)
|
2014-04-01 06:19:38 +00:00
|
|
|
|
|
|
|
nwfilterxml2firewalltest_SOURCES = \
|
|
|
|
nwfilterxml2firewalltest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
nwfilterxml2firewalltest_LDADD = \
|
|
|
|
../src/libvirt_driver_nwfilter_impl.la $(LDADDS)
|
2014-03-14 11:53:06 +00:00
|
|
|
endif WITH_NWFILTER
|
|
|
|
|
2013-04-15 16:01:02 +00:00
|
|
|
if WITH_STORAGE
|
2017-03-28 15:23:37 +00:00
|
|
|
virstorageutiltest_SOURCES = \
|
|
|
|
virstorageutiltest.c \
|
|
|
|
testutils.c \
|
|
|
|
testutils.h \
|
|
|
|
$(NULL)
|
|
|
|
virstorageutiltest_LDADD = \
|
|
|
|
../src/libvirt_driver_storage_impl.la \
|
|
|
|
$(LDADDS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-02-18 12:43:28 +00:00
|
|
|
storagevolxml2argvtest_SOURCES = \
|
|
|
|
storagevolxml2argvtest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
storagevolxml2argvtest_LDADD = \
|
2014-04-07 07:57:11 +00:00
|
|
|
$(LIBXML_LIBS) \
|
2017-05-08 20:02:36 +00:00
|
|
|
../src/libvirt_driver_storage_impl.la \
|
2019-11-27 17:11:20 +00:00
|
|
|
../src/libvirt.la \
|
2017-05-08 20:02:36 +00:00
|
|
|
$(LDADDS)
|
2014-02-21 09:59:10 +00:00
|
|
|
|
2018-12-04 11:16:23 +00:00
|
|
|
storagepoolxml2argvtest_SOURCES = \
|
|
|
|
storagepoolxml2argvtest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
storagepoolxml2argvtest_LDADD = \
|
|
|
|
$(LIBXML_LIBS) \
|
|
|
|
../src/libvirt_driver_storage_impl.la \
|
2019-11-27 17:11:20 +00:00
|
|
|
../src/libvirt.la \
|
2018-12-04 11:16:23 +00:00
|
|
|
$(LDADDS)
|
|
|
|
|
2019-01-30 14:29:37 +00:00
|
|
|
storagepoolxml2xmltest_SOURCES = \
|
|
|
|
storagepoolxml2xmltest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
storagepoolxml2xmltest_LDADD = $(LDADDS) \
|
2020-01-17 16:00:27 +00:00
|
|
|
../src/libvirt_driver_storage_impl.la
|
2019-01-30 14:29:37 +00:00
|
|
|
|
2019-02-07 17:07:16 +00:00
|
|
|
storagepoolcapstest_SOURCES = \
|
|
|
|
storagepoolcapstest.c testutils.h testutils.c
|
|
|
|
storagepoolcapstest_LDADD = $(LDADDS)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_STORAGE
|
2010-04-02 17:28:28 +00:00
|
|
|
|
2020-06-18 21:06:01 +00:00
|
|
|
if WITH_NODE_DEVICES
|
|
|
|
nodedevmdevctltest_SOURCES = \
|
|
|
|
nodedevmdevctltest.c \
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
|
|
|
nodedevmdevctltest_LDADD = \
|
|
|
|
../src/libvirt_driver_nodedev_impl.la \
|
|
|
|
$(LDADDS)
|
|
|
|
endif WITH_NODE_DEVICES
|
|
|
|
|
2010-12-06 17:03:22 +00:00
|
|
|
virnetmessagetest_SOURCES = \
|
|
|
|
virnetmessagetest.c testutils.h testutils.c
|
2012-04-02 15:45:01 +00:00
|
|
|
virnetmessagetest_LDADD = $(LDADDS)
|
2010-12-06 17:03:22 +00:00
|
|
|
|
2010-12-06 17:03:35 +00:00
|
|
|
virnetsockettest_SOURCES = \
|
|
|
|
virnetsockettest.c testutils.h testutils.c
|
2012-04-02 15:45:01 +00:00
|
|
|
virnetsockettest_LDADD = $(LDADDS)
|
2010-12-06 17:03:35 +00:00
|
|
|
|
2015-06-11 12:02:30 +00:00
|
|
|
virnetdaemontest_SOURCES = \
|
|
|
|
virnetdaemontest.c \
|
2015-05-22 12:21:46 +00:00
|
|
|
testutils.h testutils.c
|
2015-06-11 12:02:30 +00:00
|
|
|
virnetdaemontest_LDADD = $(LDADDS)
|
2015-05-22 12:21:46 +00:00
|
|
|
|
2013-09-23 11:39:19 +00:00
|
|
|
virnetserverclienttest_SOURCES = \
|
|
|
|
virnetserverclienttest.c \
|
|
|
|
testutils.h testutils.c
|
|
|
|
virnetserverclienttest_LDADD = $(LDADDS)
|
|
|
|
|
2011-07-20 18:04:18 +00:00
|
|
|
virnettlscontexttest_SOURCES = \
|
2013-08-05 15:49:24 +00:00
|
|
|
virnettlscontexttest.c \
|
|
|
|
virnettlshelpers.h virnettlshelpers.c \
|
|
|
|
testutils.h testutils.c
|
2013-08-12 19:13:14 +00:00
|
|
|
virnettlscontexttest_LDADD = $(LDADDS) $(GNUTLS_LIBS)
|
2013-08-05 15:49:24 +00:00
|
|
|
virnettlssessiontest_SOURCES = \
|
|
|
|
virnettlssessiontest.c \
|
|
|
|
virnettlshelpers.h virnettlshelpers.c \
|
|
|
|
testutils.h testutils.c
|
2013-08-12 19:13:14 +00:00
|
|
|
virnettlssessiontest_LDADD = $(LDADDS) $(GNUTLS_LIBS)
|
2011-07-22 17:59:37 +00:00
|
|
|
if HAVE_LIBTASN1
|
|
|
|
virnettlscontexttest_SOURCES += pkix_asn1_tab.c
|
|
|
|
virnettlscontexttest_LDADD += -ltasn1
|
2013-08-05 15:49:24 +00:00
|
|
|
virnettlssessiontest_SOURCES += pkix_asn1_tab.c
|
|
|
|
virnettlssessiontest_LDADD += -ltasn1
|
2020-07-13 12:59:41 +00:00
|
|
|
endif HAVE_LIBTASN1
|
2011-07-20 18:04:18 +00:00
|
|
|
|
2013-02-13 18:04:05 +00:00
|
|
|
virstoragetest_SOURCES = \
|
|
|
|
virstoragetest.c testutils.h testutils.c
|
2014-04-24 10:14:01 +00:00
|
|
|
virstoragetest_LDADD = $(LDADDS) \
|
|
|
|
../src/libvirt.la \
|
|
|
|
../src/libvirt_driver_storage_impl.la \
|
|
|
|
$(NULL)
|
2013-02-13 18:04:05 +00:00
|
|
|
|
2012-01-20 17:49:32 +00:00
|
|
|
viridentitytest_SOURCES = \
|
|
|
|
viridentitytest.c testutils.h testutils.c
|
|
|
|
viridentitytest_LDADD = $(LDADDS)
|
2014-03-06 06:02:49 +00:00
|
|
|
if WITH_SELINUX
|
2014-10-24 12:33:52 +00:00
|
|
|
viridentitytest_LDADD += $(SELINUX_LIBS)
|
2014-03-06 06:02:49 +00:00
|
|
|
viridentitytest_DEPENDENCIES = libsecurityselinuxhelper.la \
|
|
|
|
../src/libvirt.la
|
|
|
|
endif WITH_SELINUX
|
2012-01-20 17:49:32 +00:00
|
|
|
|
2016-12-25 14:02:48 +00:00
|
|
|
if WITH_NSS
|
2016-02-15 13:02:05 +00:00
|
|
|
nsstest_SOURCES = \
|
|
|
|
nsstest.c testutils.h testutils.c
|
|
|
|
nsstest_CFLAGS = \
|
2017-11-03 12:09:47 +00:00
|
|
|
$(AM_CFLAGS) \
|
2016-02-15 13:02:05 +00:00
|
|
|
-I$(top_srcdir)/tools/nss
|
|
|
|
nsstest_LDADD = \
|
2017-11-03 12:09:47 +00:00
|
|
|
$(LDADDS) \
|
2016-02-15 13:02:05 +00:00
|
|
|
../tools/nss/libnss_libvirt_impl.la
|
|
|
|
|
2016-11-29 12:48:53 +00:00
|
|
|
nssguesttest_SOURCES = \
|
|
|
|
nsstest.c testutils.h testutils.c
|
|
|
|
nssguesttest_CFLAGS = \
|
2017-11-03 12:09:47 +00:00
|
|
|
-DLIBVIRT_NSS_GUEST \
|
|
|
|
$(AM_CFLAGS) \
|
2016-11-29 12:48:53 +00:00
|
|
|
-I$(top_srcdir)/tools/nss
|
|
|
|
nssguesttest_LDADD = \
|
2017-11-03 12:09:47 +00:00
|
|
|
$(LDADDS) \
|
2016-11-29 12:48:53 +00:00
|
|
|
../tools/nss/libnss_libvirt_guest_impl.la
|
|
|
|
|
2016-03-03 14:29:51 +00:00
|
|
|
## Intentionaly not linking with anything else.
|
|
|
|
## See the test source for more detailed explanation.
|
|
|
|
nsslinktest_SOURCES = nsslinktest.c
|
2017-11-03 12:09:47 +00:00
|
|
|
nsslinktest_CFLAGS = \
|
|
|
|
$(AM_CFLAGS) \
|
2016-03-03 14:29:51 +00:00
|
|
|
-I$(top_srcdir)/tools/nss
|
|
|
|
nsslinktest_LDADD = ../tools/nss/libnss_libvirt_impl.la
|
|
|
|
nsslinktest_LDFLAGS = $(NULL)
|
|
|
|
|
2016-11-29 12:48:53 +00:00
|
|
|
nssguestlinktest_SOURCES = nsslinktest.c
|
2017-11-03 12:09:47 +00:00
|
|
|
nssguestlinktest_CFLAGS = \
|
|
|
|
-DLIBVIRT_NSS_GUEST \
|
|
|
|
$(AM_CFLAGS) \
|
2016-11-29 12:48:53 +00:00
|
|
|
-I$(top_srcdir)/tools/nss
|
|
|
|
nssguestlinktest_LDADD = ../tools/nss/libnss_libvirt_guest_impl.la
|
|
|
|
nssguestlinktest_LDFLAGS = $(NULL)
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_NSS
|
2016-11-29 12:48:53 +00:00
|
|
|
|
2018-08-13 11:40:18 +00:00
|
|
|
if WITH_YAJL
|
2016-11-25 06:30:30 +00:00
|
|
|
virmacmaptest_SOURCES = \
|
|
|
|
virmacmaptest.c testutils.h testutils.c
|
|
|
|
virmacmaptest_LDADD = $(LDADDS)
|
|
|
|
|
2019-07-16 07:33:38 +00:00
|
|
|
virnetdevopenvswitchtest_SOURCES = \
|
|
|
|
virnetdevopenvswitchtest.c testutils.h testutils.c
|
|
|
|
virnetdevopenvswitchtest_LDADD = $(LDADDS)
|
|
|
|
|
|
|
|
test_programs += \
|
|
|
|
virmacmaptest \
|
|
|
|
virnetdevopenvswitchtest
|
2020-07-13 12:59:41 +00:00
|
|
|
endif WITH_YAJL
|
2016-12-25 09:13:31 +00:00
|
|
|
|
2012-08-10 13:31:14 +00:00
|
|
|
if WITH_SECDRIVER_SELINUX
|
2013-08-21 06:52:20 +00:00
|
|
|
if WITH_ATTR
|
2012-08-10 13:31:14 +00:00
|
|
|
|
|
|
|
securityselinuxtest_SOURCES = \
|
|
|
|
securityselinuxtest.c testutils.h testutils.c
|
2013-08-12 21:09:52 +00:00
|
|
|
securityselinuxtest_LDADD = $(LDADDS) $(SELINUX_LIBS)
|
2013-07-18 15:37:52 +00:00
|
|
|
securityselinuxtest_DEPENDENCIES = libsecurityselinuxhelper.la \
|
|
|
|
../src/libvirt.la
|
2012-09-19 13:00:34 +00:00
|
|
|
|
|
|
|
if WITH_QEMU
|
|
|
|
securityselinuxlabeltest_SOURCES = \
|
|
|
|
securityselinuxlabeltest.c testutils.h testutils.c \
|
|
|
|
testutilsqemu.h testutilsqemu.c
|
2019-06-11 15:16:57 +00:00
|
|
|
securityselinuxlabeltest_LDADD = $(qemu_LDADDS) $(SELINUX_LIBS)
|
2013-07-18 15:37:52 +00:00
|
|
|
securityselinuxlabeltest_DEPENDENCIES = libsecurityselinuxhelper.la \
|
|
|
|
../src/libvirt.la
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_QEMU
|
|
|
|
endif WITH_ATTR
|
|
|
|
endif WITH_SECDRIVER_SELINUX
|
2012-08-10 13:31:14 +00:00
|
|
|
|
2017-06-26 14:47:26 +00:00
|
|
|
virjsontest_SOURCES = \
|
|
|
|
virjsontest.c testutils.h testutils.c
|
|
|
|
virjsontest_LDADD = $(LDADDS)
|
2011-06-30 14:08:29 +00:00
|
|
|
|
2017-07-28 09:54:37 +00:00
|
|
|
if WITH_LIBVIRTD
|
2012-04-02 16:25:30 +00:00
|
|
|
virdrivermoduletest_SOURCES = \
|
|
|
|
virdrivermoduletest.c testutils.h testutils.c
|
|
|
|
virdrivermoduletest_LDADD = $(LDADDS)
|
2019-10-09 19:11:44 +00:00
|
|
|
|
|
|
|
virdriverconnvalidatetest_SOURCES = \
|
|
|
|
virdriverconnvalidatetest.c testutils.h testutils.c
|
|
|
|
virdriverconnvalidatetest_LDADD = $(LDADDS)
|
2017-07-28 09:54:37 +00:00
|
|
|
endif WITH_LIBVIRTD
|
2012-04-02 16:25:30 +00:00
|
|
|
|
2009-05-12 16:45:14 +00:00
|
|
|
if WITH_LIBVIRTD
|
|
|
|
eventtest_SOURCES = \
|
2011-02-24 17:58:04 +00:00
|
|
|
eventtest.c testutils.h testutils.c
|
2020-06-24 09:43:21 +00:00
|
|
|
eventtest_LDADD = $(LDADDS)
|
2013-09-04 02:39:16 +00:00
|
|
|
endif WITH_LIBVIRTD
|
2009-05-12 16:45:14 +00:00
|
|
|
|
2013-05-10 17:14:40 +00:00
|
|
|
fdstreamtest_SOURCES = \
|
|
|
|
fdstreamtest.c testutils.h testutils.c
|
|
|
|
fdstreamtest_LDADD = $(LDADDS)
|