From 849ab13c1657b51b89693282ddd42ca1f6255354 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 13 Oct 2015 12:26:47 -0600 Subject: [PATCH] qapi: Drop redundant args-member-array test qapi-schema-test already ensures that we can correctly compile an array of enums (__org.qemu_x-command), an array of builtins (UserDefNativeListUnion), and an array of structs (again __org.qemu_x-command). That means args-member-array is not adding any additional parse-only test coverage, so drop it. Signed-off-by: Eric Blake Message-Id: <1444760807-11307-1-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster --- tests/Makefile | 1 - tests/qapi-schema/args-member-array.err | 0 tests/qapi-schema/args-member-array.exit | 1 - tests/qapi-schema/args-member-array.json | 4 ---- tests/qapi-schema/args-member-array.out | 9 --------- 5 files changed, 15 deletions(-) delete mode 100644 tests/qapi-schema/args-member-array.err delete mode 100644 tests/qapi-schema/args-member-array.exit delete mode 100644 tests/qapi-schema/args-member-array.json delete mode 100644 tests/qapi-schema/args-member-array.out diff --git a/tests/Makefile b/tests/Makefile index 35a63f30e6..cb221dec22 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -239,7 +239,6 @@ qapi-schema += args-array-unknown.json qapi-schema += args-int.json qapi-schema += args-invalid.json qapi-schema += args-member-array-bad.json -qapi-schema += args-member-array.json qapi-schema += args-member-unknown.json qapi-schema += args-name-clash.json qapi-schema += args-union.json diff --git a/tests/qapi-schema/args-member-array.err b/tests/qapi-schema/args-member-array.err deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/qapi-schema/args-member-array.exit b/tests/qapi-schema/args-member-array.exit deleted file mode 100644 index 573541ac97..0000000000 --- a/tests/qapi-schema/args-member-array.exit +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/tests/qapi-schema/args-member-array.json b/tests/qapi-schema/args-member-array.json deleted file mode 100644 index e6f7f5da13..0000000000 --- a/tests/qapi-schema/args-member-array.json +++ /dev/null @@ -1,4 +0,0 @@ -# valid array members -{ 'enum': 'abc', 'data': [ 'a', 'b', 'c' ] } -{ 'struct': 'def', 'data': { 'array': [ 'abc' ] } } -{ 'command': 'okay', 'data': { 'member1': [ 'int' ], 'member2': [ 'def' ] } } diff --git a/tests/qapi-schema/args-member-array.out b/tests/qapi-schema/args-member-array.out deleted file mode 100644 index b3b92dfc8e..0000000000 --- a/tests/qapi-schema/args-member-array.out +++ /dev/null @@ -1,9 +0,0 @@ -object :empty -object :obj-okay-arg - member member1: intList optional=False - member member2: defList optional=False -enum abc ['a', 'b', 'c'] -object def - member array: abcList optional=False -command okay :obj-okay-arg -> None - gen=True success_response=True