[libvirt] how to test libvirt?

Jim Fehlig jfehlig at suse.com
Wed Feb 24 18:16:50 UTC 2016


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?

The Xen Project's osstest includes tests for libvirt that exercise the libxl
driver. We also use libvirt-tck to test the Xen+libvirt stack.

Regards,
Jim




More information about the libvir-list mailing list