qemu/tests/qapi-schema
Markus Armbruster adb0193b90 qapi: Divorce QAPIDoc from QAPIParseError
QAPIDoc stores a reference to QAPIParser just to pass it to
QAPIParseError.  The resulting error position depends on the state of
the parser.  It happens to be the current comment line.  Servicable,
but action at a distance.

The commit before previous moved most uses of QAPIParseError from
QAPIDoc to QAPIParser.  There are just three left.  Convert them to
QAPISemError.  This involves passing info to a few methods.  Then drop
the reference to QAPIParser.

The three errors lose the column number.  Not really interesting here:
it's the comment line's indentation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240216145841.2099240-17-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2024-02-26 10:43:56 +01:00
..
include schemas: Add vim modeline 2020-08-03 08:28:08 +02: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 qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-any.out qapi: Forbid 'any' inside an alternate 2016-02-19 11:08:56 +01:00
alternate-array.err qapi-schema: support alternates with array type 2022-04-21 10:11:25 +02:00
alternate-array.json qapi-schema: support alternates with array type 2022-04-21 10:11:25 +02:00
alternate-array.out qapi-schema: support alternates with array type 2022-04-21 10:11:25 +02:00
alternate-base.err qapi: Add feature flags to remaining definitions 2020-03-17 19:58:34 +01:00
alternate-base.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-base.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-branch-if-invalid.err qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +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: Enforce union and alternate branch naming rules 2021-03-23 22:31:53 +01:00
alternate-clash.json qapi: Enforce union and alternate branch naming rules 2021-03-23 22:31:53 +01:00
alternate-clash.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-conflict-bool-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-bool-string.json qapi: Fix error handling code on alternate conflict 2017-09-01 12:51:04 +02:00
alternate-conflict-bool-string.out qapi: Fix error handling code on alternate conflict 2017-09-01 12:51:04 +02:00
alternate-conflict-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-dict.json qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-dict.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-conflict-enum-bool.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-enum-bool.json qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-enum-bool.out qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-enum-int.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-enum-int.json qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-enum-int.out qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-lists.err qapi-schema: test: add a qapi-schema-test for array alternates 2022-04-21 10:11:25 +02:00
alternate-conflict-lists.json qapi-schema: test: add a qapi-schema-test for array alternates 2022-04-21 10:11:25 +02:00
alternate-conflict-lists.out qapi-schema: test: add a qapi-schema-test for array alternates 2022-04-21 10:11:25 +02:00
alternate-conflict-num-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-num-string.json qapi: Fix error handling code on alternate conflict 2017-09-01 12:51:04 +02:00
alternate-conflict-num-string.out qapi: Fix error handling code on alternate conflict 2017-09-01 12:51:04 +02:00
alternate-conflict-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-conflict-string.json qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-string.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-data-invalid.err qapi/expr.py: Check type of union and alternate 'data' member 2021-04-30 12:59:54 +02:00
alternate-data-invalid.json qapi/expr.py: Check type of union and alternate 'data' member 2021-04-30 12:59:54 +02:00
alternate-data-invalid.out qapi/expr.py: Check type of union and alternate 'data' member 2021-04-30 12:59:54 +02:00
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 qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
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 tests/qapi-schema: Avoid 'str' in alternate test cases 2017-05-31 16:04:05 +02:00
alternate-nested.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
alternate-unknown.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-unknown.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
args-alternate.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-alternate.json tests/qapi-schema: Avoid 'str' in alternate test cases 2017-05-31 16:04:05 +02:00
args-alternate.out qapi-tests: New tests for union, alternate command arguments 2015-09-04 15:47:15 +02:00
args-any.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-any.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-any.out qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
args-array-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-array-empty.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-array-empty.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-array-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-array-unknown.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-array-unknown.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-bad-boxed.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-bad-boxed.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-bad-boxed.out qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +02:00
args-boxed-anon.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-boxed-anon.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-boxed-anon.out qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +02:00
args-boxed-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-boxed-string.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-boxed-string.out qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +02:00
args-if-implicit.err qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
args-if-implicit.json qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
args-if-implicit.out qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
args-if-unboxed.err qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
args-if-unboxed.json qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
args-if-unboxed.out qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
args-int.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-int.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-int.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-invalid.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-invalid.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-invalid.out tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
args-member-array-bad.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-member-array-bad.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-member-array-bad.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-member-case.err qapi: Prepare for rejecting underscore in command and member names 2021-03-23 22:31:05 +01:00
args-member-case.json qapi: Clean up member name case checking 2019-09-28 17:17:18 +02:00
args-member-case.out qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
args-member-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-member-unknown.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-member-unknown.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-union.err tests/qapi-schema: Purge simple unions from tests 2021-09-27 08:23:25 +02:00
args-union.json tests/qapi-schema: Purge simple unions from tests 2021-09-27 08:23:25 +02:00
args-union.out qapi: Fix to reject union command and event arguments 2015-09-04 15:47:15 +02:00
args-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
args-unknown.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-unknown.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
bad-base.err tests/qapi-schema: Purge simple unions from tests 2021-09-27 08:23:25 +02:00
bad-base.json tests/qapi-schema: Purge simple unions from tests 2021-09-27 08:23:25 +02:00
bad-base.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-data.err qapi: Improve error message for unexpected array types 2023-04-24 15:21:39 +02:00
bad-data.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-data.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-ident.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-ident.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-ident.out qapi: Require valid names 2015-05-05 18:39:01 +02:00
bad-if-all.err qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if-all.json qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if-all.out qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if-empty-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-if-empty-list.json qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +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: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +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-key.err qapi: Tweak error messages for unknown / conflicting 'if' keys 2021-09-03 17:09:10 +02:00
bad-if-key.json qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if-key.out qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if-keys.err qapi: Tweak error messages for unknown / conflicting 'if' keys 2021-09-03 17:09:10 +02:00
bad-if-keys.json qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if-keys.out qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if-list.err qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
bad-if-list.json qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if-list.out qapi: add 'if' to top-level expressions 2018-07-03 18:21:24 +02:00
bad-if-not.err qapi: Fix bogus error for 'if': { 'not': '' } 2021-09-08 15:30:30 +02:00
bad-if-not.json tests/: spelling fixes 2023-09-08 13:08:52 +03:00
bad-if-not.out tests/qapi-schema: Cover 'not' condition with empty argument 2021-09-08 15:30:10 +02:00
bad-if.err qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +02:00
bad-if.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +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 qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-type-bool.out qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
bad-type-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
bad-type-dict.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-type-dict.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
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 qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
base-cycle-direct.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
base-cycle-direct.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
base-cycle-direct.out qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
base-cycle-indirect.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
base-cycle-indirect.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
base-cycle-indirect.out qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
command-int.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
command-int.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
command-int.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
comments.err qapi.py: Permit comments starting anywhere on the line 2013-07-29 10:37:11 -05:00
comments.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
comments.out qapi: use './builtin' as the built-in module name 2021-02-08 14:15:58 +01:00
doc-bad-alternate-member.err qapi: Improve error position for bogus argument descriptions 2024-02-26 10:43:56 +01:00
doc-bad-alternate-member.json qapi: Require member documentation (with loophole) 2024-02-12 10:04:31 +01:00
doc-bad-alternate-member.out tests/qapi-schema: Improve coverage of bogus member docs 2017-03-16 07:13:03 +01:00
doc-bad-boxed-command-arg.err qapi: Improve error position for bogus argument descriptions 2024-02-26 10:43:56 +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: Improve error position for bogus argument descriptions 2024-02-26 10:43:56 +01:00
doc-bad-command-arg.json tests/qapi-schema: Rename doc-bad-args to doc-bad-command-arg 2017-03-16 07:13:03 +01:00
doc-bad-command-arg.out tests/qapi-schema: Rename doc-bad-args to doc-bad-command-arg 2017-03-16 07:13:03 +01:00
doc-bad-enum-member.err qapi: Improve error position for bogus argument descriptions 2024-02-26 10:43:56 +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: Improve error position for bogus argument descriptions 2024-02-26 10:43:56 +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: Improve error position for bogus argument descriptions 2024-02-26 10:43:56 +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-indent.err qapi: Relax doc string @name: description indentation rules 2023-05-10 10:00:40 +02:00
doc-bad-indent.json qapi: Relax doc string @name: description indentation rules 2023-05-10 10:00:40 +02:00
doc-bad-indent.out scripts/qapi/parser.py: improve doc comment indent handling 2020-09-29 17:55:39 +02:00
doc-bad-section.err qapi: Reject section markup in definition documentation 2020-09-07 16:35:16 +02:00
doc-bad-section.json qapi: Reject section markup in definition documentation 2020-09-07 16:35:16 +02:00
doc-bad-section.out qapi: Reject section markup in definition documentation 2020-09-07 16:35:16 +02:00
doc-bad-symbol.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-bad-symbol.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-bad-symbol.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-bad-union-member.err qapi: Improve error position for bogus argument descriptions 2024-02-26 10:43:56 +01:00
doc-bad-union-member.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
doc-bad-union-member.out qapi: Fix detection of bogus member documentation 2017-03-16 07:13:04 +01:00
doc-before-include.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-before-include.json qapi: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-before-include.out qapi: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-before-pragma.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-before-pragma.json qapi: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-before-pragma.out qapi: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-duplicate-features.err qapi: Reject multiple and empty feature descriptions 2024-02-26 10:43:56 +01:00
doc-duplicate-features.json tests/qapi-schema: Cover duplicate 'Features:' line 2024-02-26 10:43:56 +01:00
doc-duplicate-features.out qapi: Reject multiple and empty feature descriptions 2024-02-26 10:43:56 +01:00
doc-duplicated-arg.err qapi: Divorce QAPIDoc from QAPIParseError 2024-02-26 10:43:56 +01:00
doc-duplicated-arg.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-arg.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-return.err qapi: Divorce QAPIDoc from QAPIParseError 2024-02-26 10:43:56 +01:00
doc-duplicated-return.json qapi: Recognize section tags and 'Features:' only after blank line 2024-02-26 10:43:56 +01:00
doc-duplicated-return.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-since.err qapi: Divorce QAPIDoc from QAPIParseError 2024-02-26 10:43:56 +01:00
doc-duplicated-since.json qapi: Recognize section tags and 'Features:' only after blank line 2024-02-26 10:43:56 +01:00
doc-duplicated-since.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-arg.err qapi: Divorce QAPIDoc from QAPIParseError 2024-02-26 10:43:56 +01:00
doc-empty-arg.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-arg.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-features.err qapi: Reject multiple and empty feature descriptions 2024-02-26 10:43:56 +01:00
doc-empty-features.json tests/qapi-schema: Cover 'Features:' not followed by descriptions 2024-02-26 10:43:56 +01:00
doc-empty-features.out qapi: Reject multiple and empty feature descriptions 2024-02-26 10:43:56 +01:00
doc-empty-section.err qapi: Improve error message for empty doc sections 2024-02-26 10:43:56 +01:00
doc-empty-section.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-section.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-symbol.err qapi/parser: remove FIXME comment from _append_body_line 2021-10-02 07:33:42 +02:00
doc-empty-symbol.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-symbol.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-good.err tests/qapi-schema: Systematic positive doc comment tests 2017-03-21 10:42:55 +01:00
doc-good.json qapi: Recognize section tags and 'Features:' only after blank line 2024-02-26 10:43:56 +01:00
doc-good.out qapi: Indent tagged doc comment sections properly 2024-02-12 10:04:31 +01:00
doc-good.rst tests/qapi-schema: Add test of the rST QAPI doc-comment output 2020-09-29 17:55:39 +02:00
doc-good.txt tests/qapi-schema: Fix test 'QAPI rST doc' 2024-02-26 10:43:56 +01:00
doc-interleaved-section.err qapi: Improve error message for description following section 2023-05-22 10:03:26 +02:00
doc-interleaved-section.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-interleaved-section.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-end2.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-end2.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-end2.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-end.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-end.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-end.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-return.err qapi: Recognize section tags and 'Features:' only after blank line 2024-02-26 10:43:56 +01:00
doc-invalid-return.json qapi: Recognize section tags and 'Features:' only after blank line 2024-02-26 10:43:56 +01:00
doc-invalid-return.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-section.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-section.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-section.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-start.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-invalid-start.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-start.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing-colon.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-missing-colon.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing-colon.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing-expr.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-missing-expr.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing-expr.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing-space.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-missing-space.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing-space.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-missing.json qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
doc-missing.out qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
doc-no-symbol.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
doc-no-symbol.json qapi: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-no-symbol.out tests/qapi-schema: Improve doc / expression mismatch coverage 2017-03-16 07:13:03 +01:00
doc-non-first-section.err qapi: Reject section heading in the middle of a doc comment 2024-02-26 10:43:56 +01:00
doc-non-first-section.json qapi: Reject section heading in the middle of a doc comment 2024-02-26 10:43:56 +01:00
doc-non-first-section.out qapi: Reject section heading in the middle of a doc comment 2024-02-26 10:43:56 +01:00
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: Tweak error messages for missing / conflicting meta-type 2021-09-03 17:09:10 +02:00
double-type.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
double-type.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
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 qapi script: add check for duplicated key 2014-03-11 09:07:41 -04:00
empty.err
empty.json
empty.out qapi: use './builtin' as the built-in module name 2021-02-08 14:15: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 qapi: Require valid names 2015-05-05 18:39:01 +02:00
enum-bad-prefix.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-bad-prefix.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-bad-prefix.out qapi: allow override of default enum prefix naming 2015-09-15 10:59:28 +01:00
enum-clash-member.err qapi: Enforce enum member naming rules 2021-03-23 22:31:43 +01:00
enum-clash-member.json qapi: Enforce enum member naming rules 2021-03-23 22:31:43 +01:00
enum-clash-member.out qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-dict-member-unknown.err qapi: Add feature flags to enum members 2021-10-27 17:18:55 +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-dict-no-name.err qapi: Fix crash on missing enum member name 2021-07-15 12:56:41 +02:00
enum-dict-no-name.json qapi: Fix crash on missing enum member name 2021-07-15 12:56:41 +02:00
enum-dict-no-name.out qapi: Fix crash on missing enum member name 2021-07-15 12:56:41 +02:00
enum-if-invalid.err qapi: Tweak error messages for unknown / conflicting 'if' keys 2021-09-03 17:09:10 +02:00
enum-if-invalid.json qapi: Tidy up unusual line breaks 2021-09-25 06:55:54 +02: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 qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-int-member.out qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-member-case.err qapi: Prepare for rejecting underscore in command and member names 2021-03-23 22:31:05 +01:00
enum-member-case.json qapi: Rename pragma *-whitelist to *-exceptions 2021-03-23 22:31:05 +01:00
enum-member-case.out qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
enum-missing-data.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-missing-data.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-missing-data.out qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-wrong-data.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
enum-wrong-data.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-wrong-data.out qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
escape-outside-string.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
event-args-if-unboxed.err qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
event-args-if-unboxed.json qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
event-args-if-unboxed.out qapi: Require boxed for conditional command and event arguments 2023-04-24 15:21:39 +02:00
event-boxed-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
event-boxed-empty.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
event-boxed-empty.out qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +02:00
event-case.err qapi: Enforce event naming rules 2021-03-23 22:31:05 +01:00
event-case.json qapi: Enforce event naming rules 2021-03-23 22:31:05 +01:00
event-case.out qapi: Enforce event naming rules 2021-03-23 22:31:05 +01:00
event-member-invalid-dict.err tests/qapi-schema: Rework comments on longhand member definitions 2021-03-23 21:38:39 +01:00
event-member-invalid-dict.json tests/qapi-schema: Rework comments on longhand member definitions 2021-03-23 21:38:39 +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: Fix error message when type name or array is expected 2023-04-24 15:21:39 +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 qapi script: add event support 2014-06-23 11:01:25 -04:00
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-deprecated-type.err qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
features-deprecated-type.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
features-deprecated-type.out qapi: New special feature flag "deprecated" 2020-03-17 21:42:47 +01: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: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +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 qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +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
funny-char.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
funny-char.json
funny-char.out qapi.py: Reject invalid characters in schema file 2013-07-29 10:37:11 -05:00
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 qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-before-err.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle-b.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle-c.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-cycle.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-extra-junk.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-extra-junk.json qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
include-extra-junk.out qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
include-nested-err.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-nested-err.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-nested-err.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-no-file.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-no-file.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-no-file.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-non-file.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-non-file.json qapi: Improve 'include' error message 2015-10-12 18:44:54 +02:00
include-non-file.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-repetition-sub.json qapi: skip redundant includes 2014-05-16 10:35:59 -04:00
include-repetition.err qapi: skip redundant includes 2014-05-16 10:35:59 -04:00
include-repetition.json qapi: skip redundant includes 2014-05-16 10:35:59 -04:00
include-repetition.out qapi: use './builtin' as the built-in module name 2021-02-08 14:15:58 +01:00
include-self-cycle.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
include-self-cycle.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-self-cycle.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-simple-sub.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
include-simple.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-simple.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-simple.out qapi: use './builtin' as the built-in module name 2021-02-08 14:15:58 +01:00
indented-expr.err
indented-expr.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
indented-expr.out qapi: use './builtin' as the built-in module name 2021-02-08 14:15:58 +01:00
leading-comma-list.err qapi: Fix parse errors for removal of null from schema language 2021-03-05 15:40:50 +01:00
leading-comma-list.json tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-list.out tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-object.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
leading-comma-object.json tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-object.out tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
meson.build tests/qapi-schema: Cover 'Features:' not followed by descriptions 2024-02-26 10:43:56 +01:00
missing-array-rsqb.err qapi/parser: Fix token membership tests when token can be None 2021-05-20 11:28:28 +02:00
missing-array-rsqb.json qapi/parser: Fix token membership tests when token can be None 2021-05-20 11:28:28 +02:00
missing-array-rsqb.out qapi/parser: Fix token membership tests when token can be None 2021-05-20 11:28:28 +02:00
missing-colon.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
missing-colon.json
missing-colon.out qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
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 qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
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 qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
missing-object-member-element.err qapi/parser: Fix token membership tests when token can be None 2021-05-20 11:28:28 +02:00
missing-object-member-element.json qapi/parser: Fix token membership tests when token can be None 2021-05-20 11:28:28 +02:00
missing-object-member-element.out qapi/parser: Fix token membership tests when token can be None 2021-05-20 11:28:28 +02:00
missing-schema.err qapi: Add test for nonexistent schema file 2021-05-20 11:28:27 +02:00
missing-schema.out qapi: Add test for nonexistent schema file 2021-05-20 11:28:27 +02:00
missing-type.err qapi: Tweak error messages for missing / conflicting meta-type 2021-09-03 17:09:10 +02:00
missing-type.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
missing-type.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
nested-struct-data-invalid-dict.err tests/qapi-schema: Rework comments on longhand member definitions 2021-03-23 21:38:39 +01:00
nested-struct-data-invalid-dict.json tests/qapi-schema: Rework comments on longhand member definitions 2021-03-23 21:38:39 +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: Fix error message when type name or array is expected 2023-04-24 15:21:39 +02:00
nested-struct-data.json tests/qapi-schema: Rework comments on longhand member definitions 2021-03-23 21:38:39 +01:00
nested-struct-data.out qapi: Drop support for inline nested types 2015-05-05 18:39:02 +02:00
non-objects.err qapi/parser: enforce all top-level expressions must be dict in _parse() 2021-05-20 11:28:28 +02:00
non-objects.json
non-objects.out
oob-coroutine.err qapi: Add a 'coroutine' flag for commands 2020-10-09 07:08:19 +02:00
oob-coroutine.json qapi: Add a 'coroutine' flag for commands 2020-10-09 07:08:19 +02:00
oob-coroutine.out qapi: Add a 'coroutine' flag for commands 2020-10-09 07:08:19 +02:00
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-extra-junk.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
pragma-extra-junk.json qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-extra-junk.out qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-non-dict.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
pragma-non-dict.json qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-non-dict.out qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
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
pragma-value-not-bool.err tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-* 2021-03-23 22:31:05 +01:00
pragma-value-not-bool.json tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-* 2021-03-23 22:31:05 +01:00
pragma-value-not-bool.out tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-* 2021-03-23 22:31:05 +01:00
pragma-value-not-list-of-str.err qapi: Rename pragma *-whitelist to *-exceptions 2021-03-23 22:31:05 +01:00
pragma-value-not-list-of-str.json qapi: Rename pragma *-whitelist to *-exceptions 2021-03-23 22:31:05 +01:00
pragma-value-not-list-of-str.out tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-* 2021-03-23 22:31:05 +01:00
pragma-value-not-list.err qapi: Rename pragma *-whitelist to *-exceptions 2021-03-23 22:31:05 +01:00
pragma-value-not-list.json qapi: Rename pragma *-whitelist to *-exceptions 2021-03-23 22:31:05 +01:00
pragma-value-not-list.out tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-* 2021-03-23 22:31:05 +01:00
qapi-schema-test.err
qapi-schema-test.json qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
qapi-schema-test.out qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
quoted-structural-chars.err qapi/parser: enforce all top-level expressions must be dict in _parse() 2021-05-20 11:28:28 +02:00
quoted-structural-chars.json
quoted-structural-chars.out qapi.py: Restructure lexer and parser 2013-07-29 10:37:10 -05:00
redefined-command.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
redefined-command.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
redefined-command.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-event.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
redefined-event.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
redefined-event.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-predefined.err tests/qapi-schema: Rename redefined-builtin to redefined-predefined 2021-03-23 22:31:05 +01:00
redefined-predefined.json tests/qapi-schema: Rename redefined-builtin to redefined-predefined 2021-03-23 22:31:05 +01:00
redefined-predefined.out tests/qapi-schema: Rename redefined-builtin to redefined-predefined 2021-03-23 22:31:05 +01:00
redefined-type.err qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
redefined-type.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
redefined-type.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
reserved-command-q.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-command-q.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-command-q.out qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-enum-q.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-enum-q.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-enum-q.out qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-member-has.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-member-has.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-member-has.out qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-q.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-member-q.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-member-q.out qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-u.err qapi: Fix to reject optional members with reserved names 2021-03-23 22:29:37 +01:00
reserved-member-u.json qapi: Drop simple unions 2021-09-27 08:23:25 +02:00
reserved-member-u.out qapi: Fix to reject optional members with reserved names 2021-03-23 22:29:37 +01:00
reserved-member-underscore.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-member-underscore.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-member-underscore.out qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-type-list.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
reserved-type-list.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-type-list.out qapi: Reserve '*List' type names for list types 2015-11-02 08:30:26 +01:00
returns-alternate.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
returns-alternate.json tests/qapi-schema: Avoid 'str' in alternate test cases 2017-05-31 16:04:05 +02:00
returns-alternate.out qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-array-bad.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
returns-array-bad.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
returns-array-bad.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-bad-type.err tests/qapi-schema: Rename returns-whitelist to returns-bad-type 2021-03-23 22:31:05 +01:00
returns-bad-type.json qapi: Rename pragma *-whitelist to *-exceptions 2021-03-23 22:31:05 +01:00
returns-bad-type.out tests/qapi-schema: Rename returns-whitelist to returns-bad-type 2021-03-23 22:31:05 +01:00
returns-dict.err qapi: Fix error message when type name or array is expected 2023-04-24 15:21:39 +02:00
returns-dict.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
returns-dict.out qapi: Command returning anonymous type doesn't work, outlaw 2015-09-04 15:47:15 +02:00
returns-unknown.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
returns-unknown.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
returns-unknown.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
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 qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
struct-base-clash-deep.out qapi: Check for member name conflicts with a base class 2015-05-05 18:39:02 +02:00
struct-base-clash.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
struct-base-clash.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
struct-base-clash.out qapi: Check for member name conflicts with a base class 2015-05-05 18:39:02 +02:00
struct-data-invalid.err qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
struct-data-invalid.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
struct-data-invalid.out tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-data-typename.err qapi: Fix to reject 'data': 'mumble' in struct 2023-04-24 15:21:39 +02:00
struct-data-typename.json qapi: Fix to reject 'data': 'mumble' in struct 2023-04-24 15:21:39 +02:00
struct-data-typename.out qapi: Fix to reject 'data': 'mumble' in struct 2023-04-24 15:21:39 +02:00
struct-member-if-invalid.err qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +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: Enforce type naming rules 2021-03-23 22:31:05 +01:00
struct-member-invalid-dict.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +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: Fix error message when type name or array is expected 2023-04-24 15:21:39 +02:00
struct-member-invalid.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
struct-member-invalid.out tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-member-name-clash.err qapi: Enforce struct member naming rules 2021-03-23 22:31:43 +01:00
struct-member-name-clash.json qapi: Enforce struct member naming rules 2021-03-23 22:31:43 +01:00
struct-member-name-clash.out tests/qapi-schema: Switch member name clash test to struct 2021-03-23 22:31:31 +01:00
sub-sub-module.json schemas: Add vim modeline 2020-08-03 08:28:08 +02:00
test-qapi.py qapi: Rename QAPIDoc.Section.name to .tag 2024-02-26 10:43:56 +01:00
trailing-comma-list.err qapi: Fix parse errors for removal of null from schema language 2021-03-05 15:40:50 +01:00
trailing-comma-list.json
trailing-comma-list.out qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
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 qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
type-bypass-bad-gen.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
type-bypass-bad-gen.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
type-bypass-bad-gen.out qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-case.err qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
type-case.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
type-case.out qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
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-array-branch.err qapi: Improve error message for unexpected array types 2023-04-24 15:21:39 +02:00
union-array-branch.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-array-branch.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-bad-base.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-bad-base.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-bad-base.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-bad-discriminator.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-bad-discriminator.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-bad-discriminator.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-base-any.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-base-any.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-base-any.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-base-empty.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-base-empty.json qapi: Drop simple unions 2021-09-27 08:23:25 +02:00
union-base-empty.out tests/qapi-schema: Cover empty union base 2017-03-16 07:13:02 +01:00
union-base-no-discriminator.err qapi: Drop simple unions 2021-09-27 08:23:25 +02:00
union-base-no-discriminator.json qapi: Drop simple unions 2021-09-27 08:23:25 +02:00
union-base-no-discriminator.out qapi: Forbid base without discriminator in unions 2015-05-05 18:39:00 +02:00
union-base-union.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-base-union.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-base-union.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-branch-if-invalid.err qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
union-branch-if-invalid.json qapi: replace if condition list with dict {'all': [...]} 2021-08-26 13:53:56 +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 tests/qapi-schema: Purge simple unions from tests 2021-09-27 08:23:25 +02:00
union-branch-invalid-dict.json tests/qapi-schema: Purge simple unions from tests 2021-09-27 08:23:25 +02:00
union-branch-invalid-dict.out qapi: add a dictionary form for TYPE 2018-12-13 19:20:11 +01:00
union-clash-member.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-clash-member.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-clash-member.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-discriminator-bad-name.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-discriminator-bad-name.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-discriminator-bad-name.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-empty.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-empty.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-empty.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-inline-invalid-dict.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-inline-invalid-dict.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-inline-invalid-dict.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-int-branch.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-int-branch.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-int-branch.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-invalid-base.err qapi: Speed up frontend tests 2019-10-22 09:26:12 +02:00
union-invalid-base.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-invalid-base.out qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
union-invalid-branch-key.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-invalid-branch-key.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-invalid-branch-key.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-invalid-data.err qapi/expr.py: Check type of union and alternate 'data' member 2021-04-30 12:59:54 +02:00
union-invalid-data.json qapi/expr.py: Check type of union and alternate 'data' member 2021-04-30 12:59:54 +02:00
union-invalid-data.out qapi/expr.py: Check type of union and alternate 'data' member 2021-04-30 12:59:54 +02:00
union-invalid-discriminator.err tests/qapi-schema: Improve union discriminator coverage 2023-04-24 15:21:39 +02:00
union-invalid-discriminator.json tests/qapi-schema: Improve union discriminator coverage 2023-04-24 15:21:39 +02:00
union-invalid-discriminator.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-invalid-if-discriminator.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-invalid-if-discriminator.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-invalid-if-discriminator.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-invalid-union-subfield.err qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
union-invalid-union-subfield.json qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
union-invalid-union-subfield.out qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
union-invalid-union-subtype.err qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
union-invalid-union-subtype.json qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
union-invalid-union-subtype.out qapi: allow unions to contain further unions 2023-04-26 07:52:45 +02:00
union-no-base.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-no-base.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-no-base.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-optional-discriminator.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-optional-discriminator.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-optional-discriminator.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-string-discriminator.err tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-string-discriminator.json tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-string-discriminator.out tests/qapi-schema: Rename flat-union-* test cases to union-* 2021-09-27 08:23:25 +02:00
union-unknown.err tests/qapi-schema: Purge simple unions from tests 2021-09-27 08:23:25 +02:00
union-unknown.json tests/qapi-schema: Purge simple unions from tests 2021-09-27 08:23:25 +02:00
union-unknown.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
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 qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
unknown-expr-key.err qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
unknown-expr-key.json qapi: Enforce type naming rules 2021-03-23 22:31:05 +01:00
unknown-expr-key.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00