[libvirt] [PATCH 0/8] tests: Improve QEMU capability testing

Andrea Bolognani abologna at redhat.com
Thu Mar 7 15:44:29 UTC 2019


This series removes the need to fiddle with test programs every
time a new .replies file is added to the test suite, and also
completely removes the possibility of missing on some test
coverage because only one of the two test programs is updated.

Andrea Bolognani (8):
  tests: Introduce testQemuDataInit() and testQemuDataReset()
  tests: Move ret into testQemuData
  tests: Move data directories into testQemuData
  tests: Use virAsprintf() to build titles
  tests: Move code from DO_TEST() to doCapsTest()
  tests: Add testutilsqemu dependency for qemucaps2xmltest
  tests: Introduce testQemuCapsIterate()
  tests: Use testQemuCapsIterate()

 tests/Makefile.am            |   1 +
 tests/qemucapabilitiestest.c | 123 ++++++++++++++++++-----------------
 tests/qemucaps2xmltest.c     | 104 ++++++++++++++---------------
 tests/testutilsqemu.c        |  53 +++++++++++++++
 tests/testutilsqemu.h        |   8 +++
 5 files changed, 179 insertions(+), 110 deletions(-)

-- 
2.20.1




More information about the libvir-list mailing list