[PATCH V4 0/3] Testing libvirt XML -> libxl_domain_config conversion

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

 



This is version 4 of the work started by danpb:

  https://www.redhat.com/archives/libvir-list/2014-May/msg01102.html

This series tests the conversion of libvirt XML to libxl_domain_config
objects by the libvirt libxl driver.

Changed in V4:

 - V3 patches 2-4 have been pushed
 - Patch 1 is unchanged from V3
 - Patch 2 is new and adds tests for virJSONStringCompare
 - Cleanup of ignored context paths definition in patch 3
   (was #5 in V3) 

Daniel P. Berrange (2):
  util: Introduce virJSONStringCompare for JSON doc comparisons
  libxl: Add a test suite for libxl option generator

Jim Fehlig (1):
  tests: add tests for virJSONStringCompare

 configure.ac                           |   2 +
 src/libvirt_private.syms               |   1 +
 src/util/virjson.c                     | 242 +++++++++++++++++++++++++++++++++
 src/util/virjson.h                     |  16 +++
 tests/Makefile.am                      |  25 +++-
 tests/jsontest.c                       |  63 ++++++++-
 tests/libxlxml2jsondata/basic-hvm.json | 217 +++++++++++++++++++++++++++++
 tests/libxlxml2jsondata/basic-hvm.xml  |  36 +++++
 tests/libxlxml2jsondata/basic-pv.json  | 163 ++++++++++++++++++++++
 tests/libxlxml2jsondata/basic-pv.xml   |  28 ++++
 tests/libxlxml2jsontest.c              | 228 +++++++++++++++++++++++++++++++
 tests/virmocklibxl.c                   |  87 ++++++++++++
 12 files changed, 1102 insertions(+), 6 deletions(-)
 create mode 100644 tests/libxlxml2jsondata/basic-hvm.json
 create mode 100644 tests/libxlxml2jsondata/basic-hvm.xml
 create mode 100644 tests/libxlxml2jsondata/basic-pv.json
 create mode 100644 tests/libxlxml2jsondata/basic-pv.xml
 create mode 100644 tests/libxlxml2jsontest.c
 create mode 100644 tests/virmocklibxl.c

-- 
1.8.4.5

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




[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]