qemu-e2k/tests/qapi-schema
Markus Armbruster 3e7fb5811b qapi: Fix code generation for empty modules
When a sub-module doesn't contain any definitions, we don't generate
code for it, but we do generate the #include.

We generate code only for modules that get visited.
QAPISchema.visit() visits only modules that have definitions.  It can
visit modules multiple times.

Clean this up as follows.  Collect entities in their QAPISchemaModule.
Have QAPISchema.visit() call QAPISchemaModule.visit() for each module.
Have QAPISchemaModule.visit() call .visit_module() for itself, and
QAPISchemaEntity.visit() for each of its entities.  This way, we visit
each module exactly once.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191120182551.23795-6-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2020-01-14 11:01:58 +01:00
..
include qapi: Fix array first used in a different module 2019-03-05 14:43:11 +01:00
allow-preconfig-test.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
allow-preconfig-test.json tests: qapi-schema tests for allow-preconfig 2018-05-30 13:19:14 -03:00
allow-preconfig-test.out tests: qapi-schema tests for allow-preconfig 2018-05-30 13:19:14 -03:00
alternate-any.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-any.json
alternate-any.out
alternate-array.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-array.json
alternate-array.out
alternate-base.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-base.json
alternate-base.out
alternate-branch-if-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-branch-if-invalid.json qapi: Fix missing 'if' checks in struct, union, alternate 'data' 2019-09-24 14:07:23 +02:00
alternate-branch-if-invalid.out qapi: Fix missing 'if' checks in struct, union, alternate 'data' 2019-09-24 14:07:23 +02:00
alternate-clash.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-clash.json
alternate-clash.out
alternate-conflict-bool-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-bool-string.json
alternate-conflict-bool-string.out
alternate-conflict-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-dict.json
alternate-conflict-dict.out
alternate-conflict-enum-bool.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-enum-bool.json
alternate-conflict-enum-bool.out
alternate-conflict-enum-int.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-enum-int.json
alternate-conflict-enum-int.out
alternate-conflict-num-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-num-string.json
alternate-conflict-num-string.out
alternate-conflict-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-string.json
alternate-conflict-string.out
alternate-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-empty.json qapi: Permit alternates with just one branch 2019-09-24 14:07:22 +02:00
alternate-empty.out
alternate-invalid-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-invalid-dict.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
alternate-invalid-dict.out qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
alternate-nested.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-nested.json
alternate-nested.out
alternate-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-unknown.json
alternate-unknown.out
args-alternate.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-alternate.json
args-alternate.out
args-any.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-any.json
args-any.out
args-array-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-array-empty.json
args-array-empty.out
args-array-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-array-unknown.json
args-array-unknown.out
args-bad-boxed.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-bad-boxed.json
args-bad-boxed.out
args-boxed-anon.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-boxed-anon.json
args-boxed-anon.out
args-boxed-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-boxed-string.json
args-boxed-string.out
args-int.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-int.json
args-int.out
args-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-invalid.json
args-invalid.out
args-member-array-bad.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-member-array-bad.json
args-member-array-bad.out
args-member-case.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-member-case.json qapi: Clean up member name case checking 2019-09-28 17:17:18 +02:00
args-member-case.out
args-member-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-member-unknown.json
args-member-unknown.out
args-name-clash.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-name-clash.json
args-name-clash.out
args-union.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-union.json
args-union.out
args-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-unknown.json
args-unknown.out
bad-base.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-base.json
bad-base.out
bad-data.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-data.json
bad-data.out
bad-ident.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-ident.json
bad-ident.out
bad-if-empty-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-if-empty-list.json qapi: add 'if' to top-level expressions 2018-07-03 18:21:24 +02:00
bad-if-empty-list.out qapi: add 'if' to top-level expressions 2018-07-03 18:21:24 +02:00
bad-if-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-if-empty.json qapi: add 'if' to top-level expressions 2018-07-03 18:21:24 +02:00
bad-if-empty.out qapi: add 'if' to top-level expressions 2018-07-03 18:21:24 +02:00
bad-if-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-if-list.json qapi: Reject blank 'if' conditions in addition to empty ones 2019-09-24 14:07:23 +02:00
bad-if-list.out qapi: add 'if' to top-level expressions 2018-07-03 18:21:24 +02:00
bad-if.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-if.json qapi: add 'if' to top-level expressions 2018-07-03 18:21:24 +02:00
bad-if.out qapi: add 'if' to top-level expressions 2018-07-03 18:21:24 +02:00
bad-type-bool.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-type-bool.json
bad-type-bool.out
bad-type-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-type-dict.json
bad-type-dict.out
bad-type-int.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-type-int.json tests/qapi-schema: Demonstrate suboptimal lexical errors 2019-09-24 14:07:23 +02:00
bad-type-int.out
base-cycle-direct.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
base-cycle-direct.json
base-cycle-direct.out
base-cycle-indirect.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
base-cycle-indirect.json
base-cycle-indirect.out
command-int.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
command-int.json
command-int.out
comments.err
comments.json
comments.out qapi: Clean up modular built-in code generation a bit 2019-02-18 14:44:04 +01:00
doc-bad-alternate-member.err qapi: Polish reporting of bogus member documentation 2019-10-29 07:35:16 +01:00
doc-bad-alternate-member.json
doc-bad-alternate-member.out
doc-bad-boxed-command-arg.err qapi: Polish reporting of bogus member documentation 2019-10-29 07:35:16 +01:00
doc-bad-boxed-command-arg.json qapi: Fix doc comment checking for commands and events 2019-10-29 07:35:16 +01:00
doc-bad-boxed-command-arg.out qapi: Fix doc comment checking for commands and events 2019-10-29 07:35:16 +01:00
doc-bad-command-arg.err qapi: Polish reporting of bogus member documentation 2019-10-29 07:35:16 +01:00
doc-bad-command-arg.json
doc-bad-command-arg.out
doc-bad-enum-member.err qapi: Polish reporting of bogus member documentation 2019-10-29 07:35:16 +01:00
doc-bad-enum-member.json qapi: Fix enum doc comment checking 2019-10-29 07:35:16 +01:00
doc-bad-enum-member.out qapi: Fix enum doc comment checking 2019-10-29 07:35:16 +01:00
doc-bad-event-arg.err qapi: Polish reporting of bogus member documentation 2019-10-29 07:35:16 +01:00
doc-bad-event-arg.json qapi: Fix doc comment checking for commands and events 2019-10-29 07:35:16 +01:00
doc-bad-event-arg.out qapi: Fix doc comment checking for commands and events 2019-10-29 07:35:16 +01:00
doc-bad-feature.err qapi: Check feature documentation against the schema 2019-10-29 07:35:16 +01:00
doc-bad-feature.json qapi: Check feature documentation against the schema 2019-10-29 07:35:16 +01:00
doc-bad-feature.out qapi: Check feature documentation against the schema 2019-10-29 07:35:16 +01:00
doc-bad-section.err tests/qapi-schema/doc-bad-section: New, factored out of doc-good 2017-12-20 19:18:33 +01:00
doc-bad-section.json tests/qapi-schema/doc-bad-section: New, factored out of doc-good 2017-12-20 19:18:33 +01:00
doc-bad-section.out qapi: Clean up modular built-in code generation a bit 2019-02-18 14:44:04 +01:00
doc-bad-symbol.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-bad-symbol.json
doc-bad-symbol.out
doc-bad-union-member.err qapi: Polish reporting of bogus member documentation 2019-10-29 07:35:16 +01:00
doc-bad-union-member.json
doc-bad-union-member.out
doc-before-include.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-before-include.json
doc-before-include.out
doc-before-pragma.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-before-pragma.json
doc-before-pragma.out
doc-duplicated-arg.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-duplicated-arg.json
doc-duplicated-arg.out
doc-duplicated-return.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-duplicated-return.json
doc-duplicated-return.out
doc-duplicated-since.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-duplicated-since.json
doc-duplicated-since.out
doc-empty-arg.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-empty-arg.json
doc-empty-arg.out
doc-empty-section.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-empty-section.json
doc-empty-section.out
doc-empty-symbol.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-empty-symbol.json
doc-empty-symbol.out
doc-good.err
doc-good.json qapi: Implement boxed event argument documentation 2019-10-29 07:35:16 +01:00
doc-good.out qapi: Implement boxed event argument documentation 2019-10-29 07:35:16 +01:00
doc-good.texi qapi: Implement boxed event argument documentation 2019-10-29 07:35:16 +01:00
doc-interleaved-section.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-interleaved-section.json
doc-interleaved-section.out
doc-invalid-end2.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-end2.json
doc-invalid-end2.out
doc-invalid-end.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-end.json
doc-invalid-end.out
doc-invalid-return.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-return.json
doc-invalid-return.out
doc-invalid-section.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-section.json
doc-invalid-section.out
doc-invalid-start.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-start.json
doc-invalid-start.out
doc-missing-colon.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-missing-colon.json
doc-missing-colon.out
doc-missing-expr.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-missing-expr.json
doc-missing-expr.out
doc-missing-space.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-missing-space.json
doc-missing-space.out
doc-missing.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-missing.json
doc-missing.out
doc-no-symbol.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-no-symbol.json
doc-no-symbol.out
doc-undoc-feature.err qapi: Check feature documentation against the schema 2019-10-29 07:35:16 +01:00
doc-undoc-feature.json qapi: Check feature documentation against the schema 2019-10-29 07:35:16 +01:00
doc-undoc-feature.out qapi: Check feature documentation against the schema 2019-10-29 07:35:16 +01:00
double-type.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
double-type.json
double-type.out
duplicate-key.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
duplicate-key.json tests/qapi-schema: Delete two redundant tests 2019-09-24 14:07:22 +02:00
duplicate-key.out
empty.err
empty.json
empty.out qapi: Fix code generation for empty modules 2020-01-14 11:01:58 +01:00
enum-bad-member.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-bad-member.json qapi: add a dictionary form with 'name' key for enum members 2018-12-13 19:20:11 +01:00
enum-bad-member.out qapi: add a dictionary form with 'name' key for enum members 2018-12-13 19:20:11 +01:00
enum-bad-name.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-bad-name.json tests/qapi-schema: Demonstrate bad reporting of funny characters 2019-09-24 14:07:22 +02:00
enum-bad-name.out
enum-bad-prefix.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-bad-prefix.json
enum-bad-prefix.out
enum-clash-member.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-clash-member.json
enum-clash-member.out
enum-dict-member-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-dict-member-unknown.json qapi: add a dictionary form with 'name' key for enum members 2018-12-13 19:20:11 +01:00
enum-dict-member-unknown.out qapi: add a dictionary form with 'name' key for enum members 2018-12-13 19:20:11 +01:00
enum-if-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-if-invalid.json qapi: add 'if' to enum members 2018-12-13 19:20:11 +01:00
enum-if-invalid.out qapi: add 'if' to enum members 2018-12-13 19:20:11 +01:00
enum-int-member.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-int-member.json
enum-int-member.out
enum-member-case.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-member-case.json
enum-member-case.out
enum-missing-data.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-missing-data.json
enum-missing-data.out
enum-wrong-data.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-wrong-data.json
enum-wrong-data.out
escape-outside-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
event-boxed-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
event-boxed-empty.json
event-boxed-empty.out
event-case.err
event-case.json
event-case.out tests/qapi-schema: Tidy up test output indentation 2019-10-22 13:54:13 +02:00
event-member-invalid-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
event-member-invalid-dict.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
event-member-invalid-dict.out qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
event-nest-struct.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
event-nest-struct.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
event-nest-struct.out
features-bad-type.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
features-bad-type.json tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-bad-type.out tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-duplicate-name.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
features-duplicate-name.json tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-duplicate-name.out tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-if-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
features-if-invalid.json qapi: Remove null from schema language 2019-09-24 14:07:23 +02:00
features-if-invalid.out qapi: Remove null from schema language 2019-09-24 14:07:23 +02:00
features-missing-name.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
features-missing-name.json tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-missing-name.out tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-name-bad-type.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
features-name-bad-type.json tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-name-bad-type.out tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-no-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
features-no-list.json tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-no-list.out tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-unknown-key.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
features-unknown-key.json tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
features-unknown-key.out tests/qapi-schema: Error case tests for features in structs 2019-06-12 18:35:26 +02:00
flat-union-array-branch.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-array-branch.json
flat-union-array-branch.out
flat-union-bad-base.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-bad-base.json
flat-union-bad-base.out
flat-union-bad-discriminator.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-bad-discriminator.json
flat-union-bad-discriminator.out
flat-union-base-any.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-base-any.json
flat-union-base-any.out
flat-union-base-union.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-base-union.json
flat-union-base-union.out
flat-union-clash-member.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-clash-member.json
flat-union-clash-member.out
flat-union-discriminator-bad-name.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-discriminator-bad-name.json qapi: Move context-sensitive checking to the proper place 2019-09-28 17:17:19 +02:00
flat-union-discriminator-bad-name.out tests/qapi-schema: Demonstrate misleading optional tag error 2019-09-24 14:07:22 +02:00
flat-union-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-empty.json qapi: Permit omitting all flat union branches 2019-09-24 14:07:22 +02:00
flat-union-empty.out
flat-union-inline-invalid-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-inline-invalid-dict.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
flat-union-inline-invalid-dict.out qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
flat-union-inline.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-inline.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
flat-union-inline.out
flat-union-int-branch.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-int-branch.json
flat-union-int-branch.out
flat-union-invalid-branch-key.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-invalid-branch-key.json
flat-union-invalid-branch-key.out
flat-union-invalid-discriminator.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-invalid-discriminator.json qapi: Fix broken discriminator error messages 2019-09-24 14:07:23 +02:00
flat-union-invalid-discriminator.out
flat-union-invalid-if-discriminator.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-invalid-if-discriminator.json qapi: Fix broken discriminator error messages 2019-09-24 14:07:23 +02:00
flat-union-invalid-if-discriminator.out qapi: Add 'if' to implicit struct members 2018-12-13 19:20:11 +01:00
flat-union-no-base.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-no-base.json
flat-union-no-base.out
flat-union-optional-discriminator.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-optional-discriminator.json qapi: Move context-sensitive checking to the proper place 2019-09-28 17:17:19 +02:00
flat-union-optional-discriminator.out
flat-union-string-discriminator.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
flat-union-string-discriminator.json
flat-union-string-discriminator.out
funny-char.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
funny-char.json
funny-char.out
funny-word.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
funny-word.json tests/qapi-schema: Demonstrate suboptimal lexical errors 2019-09-24 14:07:23 +02:00
funny-word.out tests/qapi-schema: Demonstrate suboptimal lexical errors 2019-09-24 14:07:23 +02:00
ident-with-escape.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
ident-with-escape.json qapi: Drop support for escape sequences other than \\ 2019-09-24 14:07:22 +02:00
ident-with-escape.out qapi: Drop support for escape sequences other than \\ 2019-09-24 14:07:22 +02:00
include-before-err.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-before-err.json
include-before-err.out
include-cycle-b.json
include-cycle-c.json
include-cycle.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-cycle.json
include-cycle.out
include-extra-junk.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-extra-junk.json
include-extra-junk.out
include-nested-err.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-nested-err.json
include-nested-err.out
include-no-file.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-no-file.json
include-no-file.out
include-non-file.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-non-file.json
include-non-file.out
include-repetition-sub.json
include-repetition.err
include-repetition.json
include-repetition.out qapi: Fix code generation for empty modules 2020-01-14 11:01:58 +01:00
include-self-cycle.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-self-cycle.json
include-self-cycle.out
include-simple-sub.json
include-simple.err
include-simple.json
include-simple.out qapi: Clean up modular built-in code generation a bit 2019-02-18 14:44:04 +01:00
indented-expr.err
indented-expr.json
indented-expr.out tests/qapi-schema: Tidy up test output indentation 2019-10-22 13:54:13 +02:00
leading-comma-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
leading-comma-list.json
leading-comma-list.out
leading-comma-object.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
leading-comma-object.json
leading-comma-object.out
missing-colon.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
missing-colon.json
missing-colon.out
missing-comma-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
missing-comma-list.json
missing-comma-list.out
missing-comma-object.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
missing-comma-object.json
missing-comma-object.out
missing-type.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
missing-type.json
missing-type.out
nested-struct-data-invalid-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
nested-struct-data-invalid-dict.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
nested-struct-data-invalid-dict.out qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
nested-struct-data.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
nested-struct-data.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
nested-struct-data.out
non-objects.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
non-objects.json
non-objects.out
oob-test.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
oob-test.json tests: add oob-test for qapi-schema 2018-03-27 10:17:45 -05:00
oob-test.out tests: add oob-test for qapi-schema 2018-03-27 10:17:45 -05:00
pragma-doc-required-crap.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
pragma-doc-required-crap.json
pragma-doc-required-crap.out
pragma-extra-junk.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
pragma-extra-junk.json
pragma-extra-junk.out
pragma-name-case-whitelist-crap.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
pragma-name-case-whitelist-crap.json qapi: Remove null from schema language 2019-09-24 14:07:23 +02:00
pragma-name-case-whitelist-crap.out
pragma-non-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
pragma-non-dict.json
pragma-non-dict.out
pragma-returns-whitelist-crap.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
pragma-returns-whitelist-crap.json
pragma-returns-whitelist-crap.out
pragma-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
pragma-unknown.json tests/qapi-schema: Cover unknown pragma 2019-09-24 14:07:22 +02:00
pragma-unknown.out tests/qapi-schema: Cover unknown pragma 2019-09-24 14:07:22 +02:00
qapi-schema-test.err
qapi-schema-test.json tests: qapi: Test 'features' of commands 2019-10-22 13:54:13 +02:00
qapi-schema-test.out qapi: Fix code generation for empty modules 2020-01-14 11:01:58 +01:00
quoted-structural-chars.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
quoted-structural-chars.json
quoted-structural-chars.out
redefined-builtin.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
redefined-builtin.json
redefined-builtin.out
redefined-command.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
redefined-command.json
redefined-command.out
redefined-event.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
redefined-event.json
redefined-event.out
redefined-type.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
redefined-type.json
redefined-type.out
reserved-command-q.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-command-q.json
reserved-command-q.out
reserved-enum-q.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-enum-q.json
reserved-enum-q.out
reserved-member-has.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-member-has.json
reserved-member-has.out
reserved-member-q.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-member-q.json
reserved-member-q.out
reserved-member-u.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-member-u.json
reserved-member-u.out
reserved-member-underscore.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-member-underscore.json
reserved-member-underscore.out
reserved-type-kind.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-type-kind.json
reserved-type-kind.out
reserved-type-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-type-list.json
reserved-type-list.out
returns-alternate.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
returns-alternate.json
returns-alternate.out
returns-array-bad.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
returns-array-bad.json
returns-array-bad.out
returns-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
returns-dict.json
returns-dict.out
returns-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
returns-unknown.json
returns-unknown.out
returns-whitelist.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
returns-whitelist.json
returns-whitelist.out
string-code-point-31.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
string-code-point-31.json qapi: Restrict strings to printable ASCII 2019-09-24 14:07:22 +02:00
string-code-point-31.out qapi: Restrict strings to printable ASCII 2019-09-24 14:07:22 +02:00
string-code-point-127.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
string-code-point-127.json qapi: Restrict strings to printable ASCII 2019-09-24 14:07:22 +02:00
string-code-point-127.out qapi: Restrict strings to printable ASCII 2019-09-24 14:07:22 +02:00
struct-base-clash-deep.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
struct-base-clash-deep.json
struct-base-clash-deep.out
struct-base-clash.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
struct-base-clash.json
struct-base-clash.out
struct-data-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
struct-data-invalid.json
struct-data-invalid.out
struct-member-if-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
struct-member-if-invalid.json qapi: Fix missing 'if' checks in struct, union, alternate 'data' 2019-09-24 14:07:23 +02:00
struct-member-if-invalid.out qapi: Fix missing 'if' checks in struct, union, alternate 'data' 2019-09-24 14:07:23 +02:00
struct-member-invalid-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
struct-member-invalid-dict.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
struct-member-invalid-dict.out qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
struct-member-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
struct-member-invalid.json
struct-member-invalid.out
sub-sub-module.json qapi: Fix code generation for sub-modules in other directories 2019-03-05 14:43:11 +01:00
test-qapi.py tests/qapi-schema: Fix feature documentation testing 2019-10-29 07:35:16 +01:00
trailing-comma-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
trailing-comma-list.json
trailing-comma-list.out
trailing-comma-object.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
trailing-comma-object.json
trailing-comma-object.out
type-bypass-bad-gen.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
type-bypass-bad-gen.json
type-bypass-bad-gen.out
unclosed-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
unclosed-list.json
unclosed-list.out
unclosed-object.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
unclosed-object.json
unclosed-object.out
unclosed-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
unclosed-string.json
unclosed-string.out
union-base-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-base-empty.json
union-base-empty.out
union-base-no-discriminator.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-base-no-discriminator.json
union-base-no-discriminator.out
union-branch-case.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-branch-case.json qapi: Clean up member name case checking 2019-09-28 17:17:18 +02:00
union-branch-case.out
union-branch-if-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-branch-if-invalid.json qapi: Fix missing 'if' checks in struct, union, alternate 'data' 2019-09-24 14:07:23 +02:00
union-branch-if-invalid.out qapi: Fix missing 'if' checks in struct, union, alternate 'data' 2019-09-24 14:07:23 +02:00
union-branch-invalid-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-branch-invalid-dict.json qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
union-branch-invalid-dict.out qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
union-clash-branches.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-clash-branches.json
union-clash-branches.out
union-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-empty.json qapi: Permit omitting all flat union branches 2019-09-24 14:07:22 +02:00
union-empty.out
union-invalid-base.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-invalid-base.json
union-invalid-base.out
union-optional-branch.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-optional-branch.json
union-optional-branch.out
union-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-unknown.json qapi: Move context-sensitive checking to the proper place 2019-09-28 17:17:19 +02:00
union-unknown.out
unknown-escape.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
unknown-escape.json qapi: Drop support for escape sequences other than \\ 2019-09-24 14:07:22 +02:00
unknown-escape.out
unknown-expr-key.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
unknown-expr-key.json qapi: improve reporting of unknown or missing keys 2018-12-13 19:20:11 +01:00
unknown-expr-key.out