On Wed, Feb 24, 2016 at 07:31:56AM +0000, Zhangbo (Oscar) wrote:
Hi all:
AFAIK, there're several ways to test libvirt:
1) virt-test, which is driven by autotest or avocado-vt, based on qemu-kvm
2) test driver which is parall to other drivers such as qemu_driver and libxl_driver
in libvirt.
3) make -c tests, which aims to do low level tests, that is to test function modules
of libvirt.
4) libvirt-test-API
I've got 2 questions:
1) besides the 4 test suites, are there any other automatic-test tools?
2) is there any testsuite used to test libxl_driver, similar to virt-test?
Anyone knows that? Thanks in advance.
What are you trying to test for ? If the goal is to try patches before
submitting them on this list, make check and make syntax-check are the
only requirement.
Now if you built a modified version and want to test this, you can use
libvirt-test-API and the libvirt-tck, or run the openstack regression tests
with libvirt using your mods (but best is to make sure those mods get upstream
first to avoid loosing a lot of time).
Daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
veillard(a)redhat.com | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | virtualization library
http://libvirt.org/