qapi: Support downstream alternates
commitd1f07c86c05706facf950b0b0dba370f71fd5ef6
authorEric Blake <eblake@redhat.com>
Thu, 14 May 2015 12:51:00 +0000 (14 06:51 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 14 May 2015 16:21:24 +0000 (14 18:21 +0200)
tree31f417913e96b1f24fd22b3e9976b65be57cfcd9
parent857af5f06c3fb097d1bb6bc8a23b9992aac99e75
qapi: Support downstream alternates

Enhance the testsuite to cover downstream alternates, including
whether the branch name or type is downstream.  Update the
generator to mangle alternate names in the appropriate places.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi-types.py
scripts/qapi-visit.py
tests/qapi-schema/qapi-schema-test.json
tests/qapi-schema/qapi-schema-test.out