Skip to content
Snippets Groups Projects
Commit 156402e5 authored by Markus Armbruster's avatar Markus Armbruster
Browse files

tests/qapi-schema: Convert test harness to QAPISchemaVisitor


The old code prints the result of parsing (list of expression
dictionaries), and partial results of semantic analysis (list of enum
dictionaries, list of struct dictionaries).

The new code prints a trace of a schema visit, i.e. what the back-ends
are going to use.  Built-in and array types are omitted, because
they're boring.

Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
Reviewed-by: default avatarDaniel P. Berrange <berrange@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
parent 3f7dc21b
No related branches found
No related tags found
No related merge requests found
Showing
with 249 additions and 118 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment