qapi: Code generation fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tests/qapi-schema: Make test-qapi.py print arraystests/ tests/ | +12 | 2 replies | |
| 2/7 | tests/qapi-schema: Cover conditional arraystests/ tests/ | +4 | 1 reply | |
| 3/7 | qapi: Pass file name to QAPIGen constructor instead of methodsscripts/ scripts/ scripts/ | +38 | 1 reply | |
| 4/7 | qapi: Fix code generation for sub-modules in other directoriesscripts/ tests/ tests/ +10 more | +91 | 2 replies | |
| 5/7 | tests: Rename UserDefNativeListUnion to UserDefListUniontests/ tests/ tests/ +3 more | +209 | 1 reply | |
| 6/7 | tests/qapi-schema: Cover forward reference to sub-moduletests/ tests/ | +7 | 1 reply | |
| 7/7 | qapi: Fix array first used in a different modulescripts/ tests/ tests/ | +12 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/7] qapi: Code generation fixes
Markus Armbruster (7):
tests/qapi-schema: Make test-qapi.py print arrays tests/qapi-schema: Cover conditional arrays
qapi: Pass file name to QAPIGen constructor instead of methods
qapi: Fix code generation for sub-modules in other directories
tests: Rename UserDefNativeListUnion to UserDefListUnion tests/qapi-schema: Cover forward reference to sub-module
qapi: Fix array first used in a different module
scripts/qapi/commands.py | 2 +- scripts/qapi/common.py | 106 ++++++----- scripts/qapi/doc.py | 4 +- tests/.gitignore | 8 + tests/Makefile.include | 44 ++++- tests/qapi-schema/include-relpath-sub.json | 2 - tests/qapi-schema/include-relpath.err | 0 tests/qapi-schema/include-relpath.exit | 1 - tests/qapi-schema/include-relpath.json | 1 - tests/qapi-schema/include-relpath.out | 20 --- tests/qapi-schema/include/relpath.json | 1 - tests/qapi-schema/include/sub-module.json | 7 + tests/qapi-schema/qapi-schema-test.json | 14 +- tests/qapi-schema/qapi-schema-test.out | 37 +++- tests/qapi-schema/sub-sub-module.json | 6 + tests/qapi-schema/test-qapi.py | 6 + tests/test-clone-visitor.c | 16 +- tests/test-qmp-cmds.c | 2 +- tests/test-qobject-input-visitor.c | 196 ++++++++++----------- tests/test-qobject-output-visitor.c | 190 ++++++++++---------- 20 files changed, 371 insertions(+), 292 deletions(-) delete mode 100644 tests/qapi-schema/include-relpath-sub.json delete mode 100644 tests/qapi-schema/include-relpath.err delete mode 100644 tests/qapi-schema/include-relpath.exit delete mode 100644 tests/qapi-schema/include-relpath.json delete mode 100644 tests/qapi-schema/include-relpath.out delete mode 100644 tests/qapi-schema/include/relpath.json create mode 100644 tests/qapi-schema/include/sub-module.json create mode 100644 tests/qapi-schema/sub-sub-module.json
Signature · 1 line
2.17.2