Re: [kvm-unit-tests PATCH RFC] s390x: factor out running of tests into common code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/09/2017 18:39, David Hildenbrand wrote:
> 
>>> Hmm.... probably have too look into the details of the malloc discussion...
>>
>> It's really less work than it sounds.  I'm not wed to GTest, but I think
>> the ability to define test cases programmatically is useful (vmexit.c
>> for example has a case where the testcase list is actually in QEMU!) and
>> it pretty much requires malloc.
> 
> Btw, by "has a case where the testcase list is actually in QEMU" you
> mean simply selecting the list of tests to run via -apend?

No, QEMU has a test device that can provide the names of several
testcases.  So you could have a test named "name_of_test1" but
name_of_test1 is actually not in kvm-unit-tests, it is in QEMU.

Paolo

> This is already supported in this current RFC, and the way Thomas
> implemented it doesn't require malloc - see "run_it". (it's not 100%
> clean but for our purpose just ok).
> 
> 
>>
>> Paolo
>>
> 
> 




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux