summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/command-int.err
diff options
context:
space:
mode:
authorEric Blake2015-05-04 17:05:16 +0200
committerMarkus Armbruster2015-05-05 18:39:01 +0200
commitcfdd5bcad515a8371af59dba9625e31a6f6f733e (patch)
tree9f34ae56607396e9838ebc5b2c1f7468d2b92cb4 /tests/qapi-schema/command-int.err
parentqapi: Better error messages for bad expressions (diff)
downloadqemu-cfdd5bcad515a8371af59dba9625e31a6f6f733e.tar.gz
qemu-cfdd5bcad515a8371af59dba9625e31a6f6f733e.tar.xz
qemu-cfdd5bcad515a8371af59dba9625e31a6f6f733e.zip
qapi: Add tests of redefined expressions
Demonstrate that the qapi generator doesn't deal very well with redefined expressions. At the parse level, they are silently accepted; and while the testsuite just stops at parsing, I've further tested that many of them cause generator crashes or invalid C code if they were appended to qapi-schema-test.json. A later patch will tighten things up and adjust the testsuite to match. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/command-int.err')
-rw-r--r--tests/qapi-schema/command-int.err0
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/qapi-schema/command-int.err b/tests/qapi-schema/command-int.err
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/qapi-schema/command-int.err