[libvirt PATCH 0/9] tests: cputest: use g_auto more (glib chronicles)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also improve the compilation times (unoptimized optimization routines
take too long when there are too many branches in a function, which
is the case of cputest's main) and switch qemuxml2* to use the same
approach.

Ján Tomko (9):
  qemu: monitor: define cleanup function for qemuMonitorCPUModelInfo
  tests: use g_auto in cpuTestMakeQEMUCaps
  tests: cputest: use g_auto for virQEMUCaps
  tests: cputest: use g_auto for virCPUData
  tests: cputest: use g_auto for virCPUDef
  tests: cputest: use g_autofree
  tests: cputest: remove unnecessary labels
  tests: cputests: introduce and use virTestRunLog
  tests: qemuxml2*test: switch to virRunTestLog

 src/qemu/qemu_monitor.h       |   1 +
 tests/cputest.c               | 239 +++++++++++-----------------------
 tests/qemustatusxml2xmltest.c |   3 +-
 tests/qemuxml2argvtest.c      |  10 +-
 tests/qemuxml2xmltest.c       |   9 +-
 tests/testutils.c             |  30 +++++
 tests/testutils.h             |   4 +
 tests/testutilsqemu.h         |   1 -
 8 files changed, 114 insertions(+), 183 deletions(-)

-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux