aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/struct-member-if-invalid.out
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-09-14 17:34:52 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-09-24 14:07:23 +0200
commitef91ab0d5fe1a263e9e3cc1d14ea702a0a9f2261 (patch)
tree4ead6eb3f797a8cb6ed1a642df7c5aa716b705d4 /tests/qapi-schema/struct-member-if-invalid.out
parent31248b985e30801c2676ff448291c2b3d02a1b8c (diff)
downloadqemu-ef91ab0d5fe1a263e9e3cc1d14ea702a0a9f2261.zip
qemu-ef91ab0d5fe1a263e9e3cc1d14ea702a0a9f2261.tar.gz
qemu-ef91ab0d5fe1a263e9e3cc1d14ea702a0a9f2261.tar.bz2
tests/qapi-schema: Demonstrate insufficient 'if' checking
Cover invalid 'if' in struct members, features, union and alternate branches. Four out of four are broken. Mark FIXME. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190914153506.2151-6-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Comment typo fixed]
Diffstat (limited to 'tests/qapi-schema/struct-member-if-invalid.out')
-rw-r--r--tests/qapi-schema/struct-member-if-invalid.out15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/qapi-schema/struct-member-if-invalid.out b/tests/qapi-schema/struct-member-if-invalid.out
new file mode 100644
index 0000000..8fbb979
--- /dev/null
+++ b/tests/qapi-schema/struct-member-if-invalid.out
@@ -0,0 +1,15 @@
+module None
+object q_empty
+enum QType
+ prefix QTYPE
+ member none
+ member qnull
+ member qnum
+ member qstring
+ member qdict
+ member qlist
+ member qbool
+module struct-member-if-invalid.json
+object Stru
+ member member: int optional=False
+ if [True]