Skip to content

Commit

Permalink
tests/qapi-schema: Delete two redundant tests
Browse files Browse the repository at this point in the history
Tests duplicate-key and double-data test the same thing.  The former
predates the latter, and it has a better name.  Delete the latter, and
tweak the former's comment.

Tests include-format-err and include-extra-junk test the same thing.
The former predates the latter, but the latter has a better name and a
comment.  Delete the former.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190914153506.2151-3-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
  • Loading branch information
Markus Armbruster committed Sep 24, 2019
1 parent 137cf6a commit 352ada9
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions tests/Makefile.include
Expand Up @@ -359,7 +359,6 @@ qapi-schema += doc-missing-expr.json
qapi-schema += doc-missing-space.json
qapi-schema += doc-missing.json
qapi-schema += doc-no-symbol.json
qapi-schema += double-data.json
qapi-schema += double-type.json
qapi-schema += duplicate-key.json
qapi-schema += empty.json
Expand Down Expand Up @@ -404,7 +403,6 @@ qapi-schema += ident-with-escape.json
qapi-schema += include-before-err.json
qapi-schema += include-cycle.json
qapi-schema += include-extra-junk.json
qapi-schema += include-format-err.json
qapi-schema += include-nested-err.json
qapi-schema += include-no-file.json
qapi-schema += include-non-file.json
Expand Down
1 change: 0 additions & 1 deletion tests/qapi-schema/double-data.err

This file was deleted.

1 change: 0 additions & 1 deletion tests/qapi-schema/double-data.exit

This file was deleted.

2 changes: 0 additions & 2 deletions tests/qapi-schema/double-data.json

This file was deleted.

Empty file removed tests/qapi-schema/double-data.out
Empty file.
2 changes: 1 addition & 1 deletion tests/qapi-schema/duplicate-key.json
@@ -1,3 +1,3 @@
# QAPI cannot include the same key more than once in any {}
# Cannot include the same key more than once in any {}
{ 'key': 'value',
'key': 'value' }
1 change: 0 additions & 1 deletion tests/qapi-schema/include-format-err.err

This file was deleted.

1 change: 0 additions & 1 deletion tests/qapi-schema/include-format-err.exit

This file was deleted.

2 changes: 0 additions & 2 deletions tests/qapi-schema/include-format-err.json

This file was deleted.

Empty file.

0 comments on commit 352ada9

Please sign in to comment.