libvirt/m4
Jim Fehlig d8e8b63d30 libxl: Add a test suite for libxl_domain_config generator
The libxl library allows a libxl_domain_config object to be serialized
from/to a JSON string. Use this to allow testing of the XML to
libxl_domain_config conversion process. Test XML is converted to
libxl_domain_config, which is then serialized to json. A json template
corresponding to the test XML is converted to a libxl_domain_config
object using libxl_domain_config_from_json(), and then serialized
back to json using libxl_domain_config_to_json(). The two json
docs are then compared.

Using libxl to convert the json template to a libxl_domain_config
object and then back to json provides a simple way to account for
any changes or additions to the json representation across Xen
releases.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
[update to v3.5.0-rc1, improve error reporting, use /bin/true emulator]
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
2017-08-04 10:17:55 -06:00
..
virt-acl.m4 m4: Fix missing with_acl variable 2017-05-26 11:37:44 +02:00
virt-apparmor.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-arg.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-atomic.m4 configure: move atomic check to its own file 2016-12-21 15:39:38 +01:00
virt-attr.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-audit.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-avahi.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-blkid.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-capng.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-chrdev-lock-files.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-compile-pie.m4 Fix '-pie' build with clang 2016-02-09 13:29:53 +01:00
virt-compile-warnings.m4 Temporarily disable format truncation warnings 2017-06-15 14:22:54 +01:00
virt-curl.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-dbus.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-debug.m4 configure: move debug check to its own file 2016-12-21 15:39:40 +01:00
virt-default-editor.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-devmapper.m4 m4/virt-devmapper: use LIBVIRT_CHECK_(PKG|LIB) 2016-12-21 15:39:39 +01:00
virt-dlopen.m4 configure: move dlopen check to its own file 2016-12-21 15:39:38 +01:00
virt-driver-bhyve.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-esx.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-hyperv.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-interface.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-libvirtd.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-libxl.m4 libxl: Add a test suite for libxl_domain_config generator 2017-08-04 10:17:55 -06:00
virt-driver-lxc.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-modules.m4 make: Drop building without driver modules 2017-07-27 12:00:35 +02:00
virt-driver-network.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-openvz.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-phyp.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-qemu.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-remote.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-test.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-uml.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-vbox.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-vmware.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-vz.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-xen.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-xenapi.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-dtrace.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-external-programs.m4 docs: make xmllint & xsltproc compulsory 2017-08-02 17:00:11 +01:00
virt-firewalld.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-fuse.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-gluster.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-gnutls.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-hal.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-host-validate.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-init-script.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-lib.m4 m4/virt-arg: Move LIBVIRT_ARG_* macros to their own file 2016-12-22 15:20:05 +01:00
virt-libnl.m4 configure: move libnl check to its own file 2016-12-21 15:39:39 +01:00
virt-libpcap.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-libssh.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-libxml.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-linker-no-indirect.m4 Check for --no-copy-dt-needed linker flag 2013-08-22 16:17:36 +02:00
virt-linker-relro.m4 Simplify RELRO_LDFLAGS 2013-08-22 16:17:35 +02:00
virt-loader-nvram.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-login-shell.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-macvtap.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-netcf.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-nss.m4 configure: fix typo in nss error message 2017-07-10 10:00:43 +02:00
virt-numactl.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-numad.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-nwfilter.m4 configure: move nwfilter check to its own file 2016-12-21 15:39:39 +01:00
virt-openwsman.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-parted.m4 m4/virt-parted: use LIBVIRT_CHECK_PKG 2016-12-21 15:39:40 +01:00
virt-pciaccess.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-pm-utils.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-polkit.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-pthread.m4 configure: move pthread check it its own file 2016-12-21 15:39:38 +01:00
virt-readline.m4 virsh: workaround readline prototypes warnings 2017-06-08 21:03:34 +04:00
virt-result.m4 Add some autoconf helper macros for checking for libraries 2013-01-11 11:03:22 +00:00
virt-sanlock.m4 locking: Add support for sanlock_strerror 2017-04-27 11:44:11 +02:00
virt-sasl.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-secdriver-apparmor.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-secdriver-selinux.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-selinux.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-ssh2.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-dir.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-disk.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-fs.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-gluster.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-iscsi.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-lvm.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-mpath.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-rbd.m4 virt-storage-rbd: fix typo s/RDB/RBD/ in configure check 2017-04-19 15:01:17 +01:00
virt-storage-scsi.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-sheepdog.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-vstorage.m4 configure: Fix copy-paste error in vstorage backend check 2017-01-27 10:37:56 +01:00
virt-storage-zfs.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-sysctl.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-tls-priority.m4 configure: fix indentation in TLS priority result 2017-01-24 17:24:14 +01:00
virt-udev.m4 udev: Fix build on older platforms 2017-05-31 13:28:24 +02:00
virt-virtualport.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-win-common.m4 configure: move windows common check to its own file 2016-12-21 15:39:39 +01:00
virt-win-cygwin.m4 configure: move Cygwin check to its own file 2016-12-21 15:39:39 +01:00
virt-win-mingw.m4 configure: move MinGW check to its own file 2016-12-21 15:39:39 +01:00
virt-win-symbols.m4 configure: move windows symbols check to its own file 2016-12-21 15:39:39 +01:00
virt-win-windres.m4 configure: move windres check to its own file 2016-12-21 15:39:39 +01:00
virt-wireshark.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-xdr.m4 configure: move XDR check to its own file 2016-12-21 15:39:38 +01:00
virt-xml-catalog.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-yajl.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00