]> xenbits.xensource.com Git - libvirt.git/commit
tests: Reuse qemucapabilities data for qemucaps2xml
authorAndrea Bolognani <abologna@redhat.com>
Thu, 13 Sep 2018 16:06:20 +0000 (18:06 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 17 Sep 2018 12:52:12 +0000 (14:52 +0200)
commit562990849a9de255b5fefa39be3f301b1bddfa6e
tree9958973405d8bf313423882ef3f2de19ca29f7e5
parent11e1f11dd34f2688169c63c13ea8d99a64724369
tests: Reuse qemucapabilities data for qemucaps2xml

While qemucaps2xml has a meager two test cases to its name, we
have plenty of data from qemucapabilities which is taken from
actual QEMU binaries, covers pretty much all supported QEMU
versions and architectures and is even in the right format already!

Rewrite qemucaps2xml so that it uses qemucapabilities data as
input. Right now we have a single test case, but we're going to
add a lot more next.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
tests/qemucaps2xmldata/all_1.6.0-1.caps [deleted file]
tests/qemucaps2xmldata/all_1.6.0-1.xml [deleted file]
tests/qemucaps2xmldata/nodisksnapshot_1.6.0-1.caps [deleted file]
tests/qemucaps2xmldata/nodisksnapshot_1.6.0-1.xml [deleted file]
tests/qemucaps2xmloutdata/caps_1.6.0.x86_64.xml [new file with mode: 0644]
tests/qemucaps2xmltest.c