mbox series

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

Message ID cover.1554137098.git.crobinso@redhat.com
Headers show
Series tests: qemuxml2xml: add DO_TEST_CAPS* | expand

Message

Cole Robinson April 1, 2019, 4:47 p.m. UTC
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list