As suggested in the review of the statistics subsystem. Paolo Bonzini (3): qapi-schema: support alternates with array type qapi-schema: test: add a qapi-schema-test for array alternates qapi-schema: test: add a unit test for parsing array alternates
scripts/qapi/expr.py | 2 +- scripts/qapi/schema.py | 4 ++ tests/qapi-schema/alternate-array.err | 2 - tests/qapi-schema/alternate-array.json | 2 - tests/qapi-schema/alternate-array.out | 18 ++++++++ .../qapi-schema/alternate-conflict-lists.err | 2 + .../qapi-schema/alternate-conflict-lists.json | 6 +++ .../qapi-schema/alternate-conflict-lists.out | 0 tests/qapi-schema/meson.build | 1 + tests/qapi-schema/qapi-schema-test.json | 1 + tests/qapi-schema/qapi-schema-test.out | 4 ++ tests/unit/test-qobject-input-visitor.c | 43 +++++++++++++++++++ 12 files changed, 79 insertions(+), 5 deletions(-) create mode 100644 tests/qapi-schema/alternate-conflict-lists.err create mode 100644 tests/qapi-schema/alternate-conflict-lists.json create mode 100644 tests/qapi-schema/alternate-conflict-lists.out -- 2.35.1