[libvirt] 答复: how to test libvirt?

Zhangbo (Oscar) oscar.zhangbo at huawei.com
Wed Feb 24 09:41:47 UTC 2016


>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).

Yes, I'd like to do this kind of test! 
You didn't mention virt-test/avocado-vt, does that mean you in fact don't use these 2 tools?
REF: http://avocado-vt.readthedocs.org/en/latest/


>
>Daniel
>
>--
>Daniel Veillard      | Open Source and Standards, Red Hat
>veillard at redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
>http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list