[libvirt] [PATCH 0/4] tests: Introduce and use TEST_QEMU_CAPS_PATH

Andrea Bolognani abologna at redhat.com
Tue Apr 16 10:55:56 UTC 2019


Reduce repetition by replacing reutterances with reusable references.

Andrea Bolognani (4):
  tests: Make TEST_QEMU_CAPS_PATH public
  tests: Drop dirname argument from testQemuGetLatestCapsForArch()
  tests: Drop dirname argument from testQemuCapsIterate()
  tests: Use TEST_QEMU_CAPS_PATH wherever possible

 tests/domaincapstest.c       |  4 ++--
 tests/qemuargv2xmltest.c     |  2 +-
 tests/qemublocktest.c        |  3 +--
 tests/qemucapabilitiestest.c |  4 ++--
 tests/qemucaps2xmltest.c     |  4 ++--
 tests/testutilsqemu.c        | 25 ++++++++++---------------
 tests/testutilsqemu.h        |  8 ++++----
 tests/testutilsqemuschema.c  |  3 +--
 8 files changed, 23 insertions(+), 30 deletions(-)

-- 
2.20.1




More information about the libvir-list mailing list