summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorEric Blake2015-05-04 17:05:03 +0200
committerMarkus Armbruster2015-05-05 18:39:00 +0200
commitad11dbb93752ffd4bd1d5f31da7e2d9c40a68e8a (patch)
tree92f68f5ecf754fbb244cb4a258e56c1f2fcc5957 /tests/Makefile
parentqapi: Require ASCII in schema (diff)
downloadqemu-ad11dbb93752ffd4bd1d5f31da7e2d9c40a68e8a.tar.gz
qemu-ad11dbb93752ffd4bd1d5f31da7e2d9c40a68e8a.tar.xz
qemu-ad11dbb93752ffd4bd1d5f31da7e2d9c40a68e8a.zip
qapi: Add some enum tests
Demonstrate that the qapi generator doesn't deal well with enums that aren't up to par. Later patches will update the expected results as the generator is made stricter. 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/Makefile')
-rw-r--r--tests/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 309e8697fd..3865a611e7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -207,7 +207,11 @@ $(foreach target,$(SYSEMU_TARGET_LIST), \
$(eval check-qtest-$(target)-y += tests/qom-test$(EXESUF))))
check-qapi-schema-y := $(addprefix tests/qapi-schema/, \
- comments.json empty.json funny-char.json indented-expr.json \
+ comments.json empty.json enum-empty.json enum-missing-data.json \
+ enum-wrong-data.json enum-int-member.json enum-dict-member.json \
+ enum-clash-member.json enum-max-member.json enum-union-clash.json \
+ enum-bad-name.json \
+ funny-char.json indented-expr.json \
missing-colon.json missing-comma-list.json \
missing-comma-object.json non-objects.json \
qapi-schema-test.json quoted-structural-chars.json \