]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/qapi-schema: Rename redefined-builtin to redefined-predefined
authorMarkus Armbruster <armbru@redhat.com>
Tue, 23 Mar 2021 09:40:12 +0000 (10:40 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 23 Mar 2021 21:31:05 +0000 (22:31 +0100)
The previous commit changed this test to clash with a predefined enum
type, not a built-in type.  Adjust its name.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-16-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/qapi-schema/meson.build
tests/qapi-schema/redefined-builtin.err [deleted file]
tests/qapi-schema/redefined-builtin.json [deleted file]
tests/qapi-schema/redefined-builtin.out [deleted file]
tests/qapi-schema/redefined-predefined.err [new file with mode: 0644]
tests/qapi-schema/redefined-predefined.json [new file with mode: 0644]
tests/qapi-schema/redefined-predefined.out [new file with mode: 0644]

index ba11cb76acc69bccf09145a88957a940b23df3e1..664f9ee22dc7428e56704f82aa8e6afb89be2cd0 100644 (file)
@@ -152,9 +152,9 @@ schemas = [
   'pragma-returns-whitelist-crap.json',
   'qapi-schema-test.json',
   'quoted-structural-chars.json',
-  'redefined-builtin.json',
   'redefined-command.json',
   'redefined-event.json',
+  'redefined-predefined.json',
   'redefined-type.json',
   'reserved-command-q.json',
   'reserved-enum-q.json',
diff --git a/tests/qapi-schema/redefined-builtin.err b/tests/qapi-schema/redefined-builtin.err
deleted file mode 100644 (file)
index 92bc62d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-redefined-builtin.json: In struct 'QType':
-redefined-builtin.json:2: enum type 'QType' is already defined
diff --git a/tests/qapi-schema/redefined-builtin.json b/tests/qapi-schema/redefined-builtin.json
deleted file mode 100644 (file)
index cad555c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# we reject types that clash with predefined types
-{ 'struct': 'QType', 'data': { 'myint': 'size' } }
diff --git a/tests/qapi-schema/redefined-builtin.out b/tests/qapi-schema/redefined-builtin.out
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/tests/qapi-schema/redefined-predefined.err b/tests/qapi-schema/redefined-predefined.err
new file mode 100644 (file)
index 0000000..2924dde
--- /dev/null
@@ -0,0 +1,2 @@
+redefined-predefined.json: In struct 'QType':
+redefined-predefined.json:2: enum type 'QType' is already defined
diff --git a/tests/qapi-schema/redefined-predefined.json b/tests/qapi-schema/redefined-predefined.json
new file mode 100644 (file)
index 0000000..cad555c
--- /dev/null
@@ -0,0 +1,2 @@
+# we reject types that clash with predefined types
+{ 'struct': 'QType', 'data': { 'myint': 'size' } }
diff --git a/tests/qapi-schema/redefined-predefined.out b/tests/qapi-schema/redefined-predefined.out
new file mode 100644 (file)
index 0000000..e69de29