Skip to content

Testing libvirt XML -> libxl_domain_config conversion

Jim Fehlig xen-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v35 patches 9 repliesSuperseded

Changes in v4 from the cover letter

- 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)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3util: Introduce virJSONStringCompare for JSON doc comparisonssrc/libvirt_private.syms src/util/virjson.c src/util/virjson.h+259 -00 replies
2/3tests: add tests for virJSONStringComparetests/jsontest.c+58 -50 replies
3/3libxl: Add a test suite for libxl option generatorconfigure.ac tests/Makefile.am tests/libxlxml2jsondata/basic-hvm.json +5 more+785 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

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

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
Signature · 1 line
1.8.4.5