[libvirt] [PATCH 00/12] tests: qemuxml2xml: add DO_TEST_CAPS*

Cole Robinson crobinso at redhat.com
Mon Apr 1 16:47:16 UTC 2019


This series moves testInfoSetArgs and friends from qemuxml2argvtest.c
into testutilsqemu.c, so we can use them in qemuxml2xml and make
use of the CAPS handling. It will also make things easier to test
xml2xml failures for example if we wanted to.

Cole Robinson (12):
  tests: qemuxml2xml: Break out testInfoSet*Paths
  tests: qemuxml2xml: Add info->{in,out}file
  tests: qemuxml2xml: Remove info->outActiveName
  tests: qemuxml2argv: Add info->{in,out}file
  tests: qemuxml2argv: add testInfoSetPaths
  tests: qemuxml2argv: Rename testInfo* to testQemuInfo*
  tests: Move testQemuInfo* to testutilsqemu
  tests: add testQemuGetCapsLatest
  tests: qemuxml2xml: Use struct testQemuInfo
  tests: qemuxml2xml: Use testQemuInfoSetArgs
  tests: qemuxml2xml: make GIC handling optional
  tests: qemuxml2xml: Add DO_TEST_CAPS*

 tests/qemuxml2argvdata/vhost-vsock.xml        |   2 +-
 tests/qemuxml2argvtest.c                      | 238 ++-----------
 .../aarch64-os-firmware-efi.xml               |  32 +-
 tests/qemuxml2xmloutdata/os-firmware-bios.xml |  69 +++-
 .../os-firmware-efi-secboot.xml               |  69 +++-
 tests/qemuxml2xmloutdata/os-firmware-efi.xml  |  69 +++-
 tests/qemuxml2xmltest.c                       | 313 ++++++++----------
 tests/testutilsqemu.c                         | 181 ++++++++++
 tests/testutilsqemu.h                         |  40 +++
 9 files changed, 618 insertions(+), 395 deletions(-)
 mode change 120000 => 100644 tests/qemuxml2xmloutdata/aarch64-os-firmware-efi.xml
 mode change 120000 => 100644 tests/qemuxml2xmloutdata/os-firmware-bios.xml
 mode change 120000 => 100644 tests/qemuxml2xmloutdata/os-firmware-efi-secboot.xml
 mode change 120000 => 100644 tests/qemuxml2xmloutdata/os-firmware-efi.xml

-- 
2.21.0




More information about the libvir-list mailing list