mirror_qemu/tests/qapi-schema
Markus Armbruster c0644771eb qapi: Reject alternates that can't work with keyval_parse()
Alternates are sum types like unions, but use the JSON type on the
wire / QType in QObject instead of an explicit tag.  That's why we
require alternate members to have distinct QTypes.

The recently introduced keyval_parse() (commit d454dbe) can only
produce string scalars.  The qobject_input_visitor_new_keyval() input
visitor mostly hides the difference, so code using a QObject input
visitor doesn't have to care whether its input was parsed from JSON or
KEY=VALUE,...  The difference leaks for alternates, as noted in commit
0ee9ae7: a non-string, non-enum scalar alternate value can't currently
be expressed.

In part, this is just our insufficiently sophisticated implementation.
Consider alternate type 'GuestFileWhence'.  It has an integer member
and a 'QGASeek' member.  The latter is an enumeration with values
'set', 'cur', 'end'.  The meaning of b=set, b=cur, b=end, b=0, b=1 and
so forth is perfectly obvious.  However, our current implementation
falls apart at run time for b=0, b=1, and so forth.  Fixable, but not
today; add a test case and a TODO comment.

Now consider an alternate type with a string and an integer member.
What's the meaning of a=42?  Is it the string "42" or the integer 42?
Whichever meaning you pick makes the other inexpressible.  This isn't
just an implementation problem, it's fundamental.  Our current
implementation will pick string.

So far, we haven't needed such alternates.  To make sure we stop and
think before we add one that cannot sanely work with keyval_parse(),
let's require alternate members to have sufficiently distinct
representation in KEY=VALUE,... syntax:

* A string member clashes with any other scalar member

* An enumeration member clashes with bool members when it has value
  'on' or 'off'.

* An enumeration member clashes with numeric members when it has a
  value that starts with '-', '+', or a decimal digit.  This is a
  rather lazy approximation of the actual number syntax accepted by
  the visitor.

  Note that enumeration values starting with '-' and '+' are rejected
  elsewhere already, but better safe than sorry.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1495471335-23707-5-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2017-05-31 16:04:09 +02:00
..
include qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
alternate-any.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-any.exit qapi: Forbid 'any' inside an alternate 2016-02-19 11:08:56 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-array.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-array.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-array.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-base.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-base.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02: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-clash.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-clash.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-clash.json tests/qapi-schema: Avoid 'str' in alternate test cases 2017-05-31 16:04:05 +02:00
alternate-clash.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-conflict-dict.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-conflict-dict.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +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: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-enum-bool.exit qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +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: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-enum-int.exit qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +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-string.err qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
alternate-conflict-string.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +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-empty.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-empty.exit qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
alternate-empty.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-empty.out qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
alternate-nested.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-nested.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
alternate-unknown.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-alternate.exit qapi-tests: New tests for union, alternate command arguments 2015-09-04 15:47:15 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-any.exit qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-array-empty.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-array-unknown.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-bad-boxed.exit qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-boxed-anon.exit qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +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-empty.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-boxed-empty.exit qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +02:00
args-boxed-empty.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-boxed-empty.out qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +02:00
args-boxed-string.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-boxed-string.exit qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +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-int.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-int.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-invalid.exit tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-member-array-bad.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-member-case.exit qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
args-member-case.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-member-unknown.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +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-name-clash.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-name-clash.exit qapi: Detect collisions in C member names 2015-12-17 08:21:27 +01:00
args-name-clash.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-name-clash.out qapi: Detect collisions in C member names 2015-12-17 08:21:27 +01:00
args-union.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-union.exit qapi: Fix to reject union command and event arguments 2015-09-04 15:47:15 +02:00
args-union.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
args-unknown.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +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 qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-base.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-base.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-base.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-data.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-data.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-ident.exit qapi: Require valid names 2015-05-05 18:39:01 +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-type-bool.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-type-bool.exit qapi: Add some expr tests 2015-05-05 18:39:01 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
bad-type-dict.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +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: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
bad-type-int.exit qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
bad-type-int.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
bad-type-int.out qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
base-cycle-direct.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
base-cycle-direct.exit qapi: Detect base class loops 2015-12-17 08:21:29 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
base-cycle-indirect.exit qapi: Detect base class loops 2015-12-17 08:21:29 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
command-int.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +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.exit 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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
doc-bad-alternate-member.err tests/qapi-schema: Improve coverage of bogus member docs 2017-03-16 07:13:03 +01:00
doc-bad-alternate-member.exit tests/qapi-schema: Improve coverage of bogus member docs 2017-03-16 07:13:03 +01:00
doc-bad-alternate-member.json tests/qapi-schema: Avoid 'str' in alternate test cases 2017-05-31 16:04:05 +02: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-command-arg.err tests/qapi-schema: Rename doc-bad-args to doc-bad-command-arg 2017-03-16 07:13:03 +01:00
doc-bad-command-arg.exit tests/qapi-schema: Rename doc-bad-args to doc-bad-command-arg 2017-03-16 07:13:03 +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-symbol.err qapi: Move detection of doc / expression name mismatch 2017-03-16 07:13:03 +01:00
doc-bad-symbol.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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: Fix detection of bogus member documentation 2017-03-16 07:13:04 +01:00
doc-bad-union-member.exit qapi: Fix detection of bogus member documentation 2017-03-16 07:13:04 +01:00
doc-bad-union-member.json tests/qapi-schema: Improve coverage of bogus member docs 2017-03-16 07:13:03 +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: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-before-include.exit qapi: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01: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: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-before-pragma.exit qapi: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01: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-duplicated-arg.err qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-arg.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +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: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-return.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-return.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-return.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-since.err qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-since.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-since.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-duplicated-since.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-arg.err qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-arg.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +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-section.err qapi: Move empty doc section checking to doc parser 2017-03-16 07:13:03 +01:00
doc-empty-section.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +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: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-empty-symbol.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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.exit tests/qapi-schema: Systematic positive doc comment tests 2017-03-21 10:42:55 +01:00
doc-good.json tests/qapi-schema: Systematic positive doc comment tests 2017-03-21 10:42:55 +01:00
doc-good.out tests/qapi-schema: Systematic positive doc comment tests 2017-03-21 10:42:55 +01:00
doc-good.texi qapi2texi: Fix translation of *strong* and _emphasized_ 2017-03-21 10:42:58 +01:00
doc-interleaved-section.err qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-interleaved-section.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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-end.err qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-end.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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-end2.err qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-end2.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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-return.err qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-return.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-return.json qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-return.out qapi: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-section.err qapi: Improve error message on @NAME: in free-form doc 2017-03-16 07:13:03 +01:00
doc-invalid-section.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-invalid-start.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing-colon.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-missing-expr.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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: add qapi2texi script 2017-01-16 10:10:35 +01:00
doc-missing-space.exit qapi: add qapi2texi script 2017-01-16 10:10:35 +01: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: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
doc-missing.exit qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01: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: Fix detection of doc / expression mismatch 2017-03-16 07:13:03 +01:00
doc-no-symbol.exit tests/qapi-schema: Improve doc / expression mismatch coverage 2017-03-16 07:13:03 +01: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
double-data.err qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
double-data.exit qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
double-data.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
double-data.out qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
double-type.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
double-type.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
double-type.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
double-type.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
duplicate-key.err qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
duplicate-key.exit qapi script: add check for duplicated key 2014-03-11 09:07:41 -04:00
duplicate-key.json qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
duplicate-key.out qapi script: add check for duplicated key 2014-03-11 09:07:41 -04:00
empty.err
empty.exit
empty.json
empty.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
enum-bad-name.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-bad-name.exit qapi: Require valid names 2015-05-05 18:39:01 +02:00
enum-bad-name.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-bad-name.out qapi: Require valid names 2015-05-05 18:39:01 +02:00
enum-bad-prefix.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-bad-prefix.exit qapi: allow override of default enum prefix naming 2015-09-15 10:59:28 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-clash-member.exit qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-clash-member.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-clash-member.out qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-dict-member.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-dict-member.exit qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-dict-member.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-dict-member.out qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-int-member.err qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-int-member.exit qapi: Add some enum tests 2015-05-05 18:39:00 +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: Have each QAPI schema declare its name rule violations 2017-03-16 07:13:02 +01:00
enum-member-case.exit qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
enum-member-case.json qapi: Have each QAPI schema declare its name rule violations 2017-03-16 07:13:02 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-missing-data.exit qapi: Add some enum tests 2015-05-05 18:39:00 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
enum-wrong-data.exit qapi: Better error messages for bad enums 2015-05-05 18:39:00 +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: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-outside-string.exit qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-outside-string.json qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-outside-string.out qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-too-big.err qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-too-big.exit qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-too-big.json qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-too-big.out qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-too-short.err qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-too-short.exit qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-too-short.json qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
escape-too-short.out qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
event-boxed-empty.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
event-boxed-empty.exit qapi: Implement boxed types for commands/events 2016-07-19 13:21:08 +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: Add some expr tests 2015-05-05 18:39:01 +02:00
event-case.exit qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
event-case.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
event-case.out qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
event-nest-struct.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
event-nest-struct.exit qapi script: add event support 2014-06-23 11:01:25 -04:00
event-nest-struct.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
event-nest-struct.out qapi script: add event support 2014-06-23 11:01:25 -04:00
flat-union-array-branch.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-array-branch.exit tests/qapi-schema: New flat union array branch test case 2015-06-18 14:19:47 +02:00
flat-union-array-branch.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-array-branch.out tests/qapi-schema: New flat union array branch test case 2015-06-18 14:19:47 +02:00
flat-union-bad-base.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-bad-base.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-bad-base.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-bad-base.out qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-bad-discriminator.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-bad-discriminator.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
flat-union-bad-discriminator.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-bad-discriminator.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
flat-union-base-any.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-base-any.exit qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
flat-union-base-any.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-base-any.out qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
flat-union-base-union.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-base-union.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-base-union.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-base-union.out qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-clash-member.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-clash-member.exit qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
flat-union-clash-member.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-clash-member.out qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
flat-union-empty.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-empty.exit qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
flat-union-empty.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-empty.out qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
flat-union-incomplete-branch.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-incomplete-branch.exit qapi: Require all branches of flat union enum to be covered 2016-07-19 13:21:08 +02:00
flat-union-incomplete-branch.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-incomplete-branch.out qapi: Require all branches of flat union enum to be covered 2016-07-19 13:21:08 +02:00
flat-union-inline.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-inline.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-inline.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-inline.out qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-int-branch.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-int-branch.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
flat-union-int-branch.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-int-branch.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
flat-union-invalid-branch-key.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-invalid-branch-key.exit qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-invalid-branch-key.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-invalid-branch-key.out qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-invalid-discriminator.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-invalid-discriminator.exit qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-invalid-discriminator.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-invalid-discriminator.out qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-no-base.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-no-base.exit qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-no-base.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-no-base.out qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-optional-discriminator.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-optional-discriminator.exit qapi: Require valid names 2015-05-05 18:39:01 +02:00
flat-union-optional-discriminator.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-optional-discriminator.out qapi: Require valid names 2015-05-05 18:39:01 +02:00
flat-union-string-discriminator.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-string-discriminator.exit qapi script: do not allow string discriminator 2014-03-11 09:07:42 -04:00
flat-union-string-discriminator.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
flat-union-string-discriminator.out qapi script: do not allow string discriminator 2014-03-11 09:07:42 -04:00
funny-char.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
funny-char.exit qapi.py: Reject invalid characters in schema file 2013-07-29 10:37:11 -05:00
funny-char.json
funny-char.out qapi.py: Reject invalid characters in schema file 2013-07-29 10:37:11 -05:00
ident-with-escape.err qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
ident-with-escape.exit qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
ident-with-escape.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
ident-with-escape.out qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
include-before-err.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-before-err.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04: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: Fix file name in error messages for included files 2015-06-18 14:12:34 +02:00
include-cycle.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04: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: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
include-extra-junk.exit qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01: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-format-err.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-format-err.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-format-err.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-format-err.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-nested-err.err qapi: Fix file name in error messages for included files 2015-06-18 14:12:34 +02:00
include-nested-err.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04: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: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-no-file.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04: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: Improve 'include' error message 2015-10-12 18:44:54 +02:00
include-non-file.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04: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-relpath-sub.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
include-relpath.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-relpath.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-relpath.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-relpath.out qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01: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.exit 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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
include-self-cycle.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-self-cycle.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04: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.exit 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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
indented-expr.err
indented-expr.exit
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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
leading-comma-list.err tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-list.exit tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02: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 tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-object.exit tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +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
missing-colon.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
missing-colon.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05: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: Use an explicit input file 2014-05-08 14:19:58 -04:00
missing-comma-list.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05: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: Use an explicit input file 2014-05-08 14:19:58 -04:00
missing-comma-object.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05: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-type.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
missing-type.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +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.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
nested-struct-data.exit qapi: Drop support for inline nested types 2015-05-05 18:39:02 +02:00
nested-struct-data.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +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: Use an explicit input file 2014-05-08 14:19:58 -04:00
non-objects.exit
non-objects.json
non-objects.out
pragma-doc-required-crap.err qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-doc-required-crap.exit qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-doc-required-crap.json qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-doc-required-crap.out qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-extra-junk.err qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-extra-junk.exit qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01: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-name-case-whitelist-crap.err qapi: Have each QAPI schema declare its name rule violations 2017-03-16 07:13:02 +01:00
pragma-name-case-whitelist-crap.exit qapi: Have each QAPI schema declare its name rule violations 2017-03-16 07:13:02 +01:00
pragma-name-case-whitelist-crap.json qapi: Have each QAPI schema declare its name rule violations 2017-03-16 07:13:02 +01:00
pragma-name-case-whitelist-crap.out qapi: Have each QAPI schema declare its name rule violations 2017-03-16 07:13:02 +01:00
pragma-non-dict.err qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01:00
pragma-non-dict.exit qapi: Make doc comments optional where we don't need them 2017-03-16 07:13:01 +01: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-returns-whitelist-crap.err qapi: Have each QAPI schema declare its returns white-list 2017-03-16 07:13:02 +01:00
pragma-returns-whitelist-crap.exit qapi: Have each QAPI schema declare its returns white-list 2017-03-16 07:13:02 +01:00
pragma-returns-whitelist-crap.json qapi: Have each QAPI schema declare its returns white-list 2017-03-16 07:13:02 +01:00
pragma-returns-whitelist-crap.out qapi: Have each QAPI schema declare its returns white-list 2017-03-16 07:13:02 +01:00
qapi-schema-test.err
qapi-schema-test.exit
qapi-schema-test.json qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
qapi-schema-test.out qapi: Reject alternates that can't work with keyval_parse() 2017-05-31 16:04:09 +02:00
quoted-structural-chars.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
quoted-structural-chars.exit qapi.py: Restructure lexer and parser 2013-07-29 10:37:10 -05:00
quoted-structural-chars.json
quoted-structural-chars.out qapi.py: Restructure lexer and parser 2013-07-29 10:37:10 -05:00
redefined-builtin.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
redefined-builtin.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-builtin.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
redefined-builtin.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-command.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
redefined-command.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
redefined-event.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-event.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
redefined-event.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-type.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
redefined-type.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-type.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-command-q.exit qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-enum-q.exit qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-member-has.exit qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-member-q.exit qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-member-u.exit qapi: Reserve 'u' member name 2015-11-02 08:30:28 +01:00
reserved-member-u.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-member-u.out qapi: Reserve 'u' member name 2015-11-02 08:30:28 +01:00
reserved-member-underscore.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-member-underscore.exit qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01: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-kind.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-type-kind.exit tests/qapi-schema: Test for reserved names, empty struct 2015-11-02 08:30:25 +01:00
reserved-type-kind.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-type-kind.out tests/qapi-schema: Test for reserved names, empty struct 2015-11-02 08:30:25 +01:00
reserved-type-list.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
reserved-type-list.exit qapi: Reserve '*List' type names for list types 2015-11-02 08:30:26 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
returns-alternate.exit qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
returns-array-bad.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +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-dict.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
returns-dict.exit qapi: Command returning anonymous type doesn't work, outlaw 2015-09-04 15:47:15 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
returns-unknown.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +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
returns-whitelist.err qapi: Have each QAPI schema declare its returns white-list 2017-03-16 07:13:02 +01:00
returns-whitelist.exit qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-whitelist.json qapi: Have each QAPI schema declare its returns white-list 2017-03-16 07:13:02 +01:00
returns-whitelist.out qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
struct-base-clash-deep.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
struct-base-clash-deep.exit qapi: Check for member name conflicts with a base class 2015-05-05 18:39:02 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
struct-base-clash.exit qapi: Check for member name conflicts with a base class 2015-05-05 18:39:02 +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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
struct-data-invalid.exit tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-data-invalid.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
struct-data-invalid.out tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-member-invalid.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
struct-member-invalid.exit tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-member-invalid.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
struct-member-invalid.out tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
test-qapi.py tests/qapi-schema: Make test-qapi.py print docs again 2017-03-21 10:42:52 +01:00
trailing-comma-list.err qapi: Fix a misleading parser error message 2017-03-16 07:13:04 +01:00
trailing-comma-list.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05: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: Use an explicit input file 2014-05-08 14:19:58 -04:00
trailing-comma-object.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
type-bypass-bad-gen.exit qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +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
unclosed-list.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
unclosed-list.exit
unclosed-list.json
unclosed-list.out
unclosed-object.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
unclosed-object.exit
unclosed-object.json
unclosed-object.out
unclosed-string.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
unclosed-string.exit
unclosed-string.json
unclosed-string.out
unicode-str.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
unicode-str.exit qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
unicode-str.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
unicode-str.out qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
union-base-empty.err qapi: Fix to reject empty union base gracefully 2017-03-16 07:13:02 +01:00
union-base-empty.exit tests/qapi-schema: Cover empty union base 2017-03-16 07:13:02 +01:00
union-base-empty.json tests/qapi-schema: Cover empty union base 2017-03-16 07:13:02 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-base-no-discriminator.exit qapi: Forbid base without discriminator in unions 2015-05-05 18:39:00 +02:00
union-base-no-discriminator.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-base-no-discriminator.out qapi: Forbid base without discriminator in unions 2015-05-05 18:39:00 +02:00
union-branch-case.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-branch-case.exit qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
union-branch-case.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-branch-case.out qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
union-clash-branches.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-clash-branches.exit qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
union-clash-branches.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-clash-branches.out qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
union-empty.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-empty.exit qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
union-empty.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-empty.out qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
union-invalid-base.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-invalid-base.exit qapi script: check correctness of union 2014-03-11 09:07:41 -04: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-optional-branch.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-optional-branch.exit qapi: Require valid names 2015-05-05 18:39:01 +02:00
union-optional-branch.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-optional-branch.out qapi: Require valid names 2015-05-05 18:39:01 +02:00
union-unknown.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-unknown.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
union-unknown.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
union-unknown.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
unknown-escape.err qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
unknown-escape.exit qapi: Support (subset of) \u escapes in strings 2015-05-05 18:39:02 +02:00
unknown-escape.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01: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: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
unknown-expr-key.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
unknown-expr-key.json qapi: Back out doc comments added just to please qapi.py 2017-03-16 07:13:01 +01:00
unknown-expr-key.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00