]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add support for multiple variants of data for the same qemu version+architecture
authorPeter Krempa <pkrempa@redhat.com>
Wed, 8 Mar 2023 13:49:56 +0000 (14:49 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 3 Apr 2023 07:19:06 +0000 (09:19 +0200)
commit2102a31bc29548291940b28c6d7f5293f7b3e7b4
tree5ccab11596154fea3cb36565ecdb603e8dfd16c3
parent36a735c553a95402875eed912b601ada8e54e005
tests: Add support for multiple variants of data for the same qemu version+architecture

'qemucapabilitiestest' and other users of the capability data can
benefit from adding a discriminator string to have multiple instances
for the same version+architecture tuple.

This will in the future allow us to have specific capability versions
for test cases which require a specific host feature or are based on a
different operating system.

Add the basic skeleton for parsing the variant string and passing it
around into test cases.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/domaincapstest.c
tests/qemucapabilitiesdata/README.rst
tests/qemucapabilitiesnumbering.c
tests/qemucapabilitiestest.c
tests/qemucaps2xmltest.c
tests/testutilsqemu.c
tests/testutilsqemu.h