]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Use testQemuCapsIterate()
authorAndrea Bolognani <abologna@redhat.com>
Thu, 7 Mar 2019 15:02:37 +0000 (16:02 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 13 Mar 2019 10:07:12 +0000 (11:07 +0100)
commit60943f0eecf91b6dfd4f71854234efe9df0d6a65
tree5ed0f73d86bf1be07d9ef04b3fecd8ad116dc9ca
parent30439c1b81e6e3455d5f01e275f8361ac217461d
tests: Use testQemuCapsIterate()

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@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
tests/qemucapabilitiestest.c
tests/qemucaps2xmltest.c