[libvirt] [PATCH 8/8] tests: Use testQemuCapsIterate()

Peter Krempa pkrempa at redhat.com
Wed Mar 13 08:58:17 UTC 2019


On Thu, Mar 07, 2019 at 16:44:37 +0100, Andrea Bolognani wrote:
> With only a couple minor tweaks, we can make the existing
> doCapsTest() functions with testQemuCapsIterate() and finally
> remove the need to manually adjust the test programs every time
> a new input file is introduced; moreover, this means that the
> two lists can't possibly get out of sync anymore.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  tests/qemucapabilitiestest.c | 48 +++---------------------------------
>  tests/qemucaps2xmltest.c     | 48 +++---------------------------------
>  2 files changed, 8 insertions(+), 88 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190313/f84afd2a/attachment-0001.sig>


More information about the libvir-list mailing list