[libvirt] [PATCH 0/6] tests: misc collection of improvments

Cole Robinson crobinso at redhat.com
Sat Jan 9 00:13:19 UTC 2016


Small collection of test suite improvements that were getting mixed
in with other patches I'm working on.

Patch #1 is a REGENERATE tweak for qemu argvs (this is already on list)
Patch #2 fixes running schema tests from top git dir
Patch #3-4 simplify the domain xml2xml tests
Patch #5 adds a new driver agnostic genericxml2xml test (to be used later)
Patch #6 adds QEMUCaps plumbing to qemuxml2xml (to be used later)

Cole Robinson (6):
  tests: Add newlines with VIR_TEST_REGENERATE_OUTPUT
  tests: Fix running schematests directly from topdir
  tests: Share domain XML2XML compare helper
  tests: qemuxml2xml: drop early file loading
  tests: add genericxml2xmltest
  tests: qemuxml2xml: Wire up QEMUCaps usage

 tests/Makefile.am                                  |  9 ++
 tests/bhyvexml2xmltest.c                           | 30 +------
 tests/capabilityschematest                         |  2 +-
 tests/domaincapsschematest                         |  2 +-
 tests/domainschematest                             |  4 +-
 tests/domainsnapshotschematest                     |  2 +-
 tests/genericxml2xmlindata/generic-disk-virtio.xml | 45 ++++++++++
 .../genericxml2xmloutdata/generic-disk-virtio.xml  | 45 ++++++++++
 tests/genericxml2xmltest.c                         | 83 +++++++++++++++++++
 tests/interfaceschematest                          |  2 +-
 tests/lxcxml2xmltest.c                             | 50 +----------
 tests/networkschematest                            |  2 +-
 tests/nodedevschematest                            |  2 +-
 tests/nwfilterschematest                           |  2 +-
 tests/qemuxml2xmltest.c                            | 96 ++++++----------------
 tests/secretschematest                             |  2 +-
 tests/storagepoolschematest                        |  2 +-
 tests/storagevolschematest                         |  2 +-
 tests/test-lib.sh                                  |  9 +-
 tests/testutils.c                                  | 47 ++++++++++-
 tests/testutils.h                                  |  6 ++
 21 files changed, 281 insertions(+), 163 deletions(-)
 create mode 100644 tests/genericxml2xmlindata/generic-disk-virtio.xml
 create mode 100644 tests/genericxml2xmloutdata/generic-disk-virtio.xml
 create mode 100644 tests/genericxml2xmltest.c

-- 
2.5.0




More information about the libvir-list mailing list