]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qapi-schema: Cover 'not' condition with empty argument
authorMarkus Armbruster <armbru@redhat.com>
Wed, 8 Sep 2021 04:54:27 +0000 (06:54 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 8 Sep 2021 13:30:10 +0000 (15:30 +0200)
commit71f03ef9f66b020d58acad5227e886102db41127
treed910eb158c9f91270b4b4664e6b6b0fe76bf4304
parente2ff14a5740c2fe3714a56221792b6d74bc64c08
tests/qapi-schema: Cover 'not' condition with empty argument

We flag this, but the error message is bogus:

    bad-if-not.json:2: 'if' condition [] of struct is useless

The next commit will fix it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210908045428.2689093-5-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
tests/qapi-schema/bad-if-not.err [new file with mode: 0644]
tests/qapi-schema/bad-if-not.json [new file with mode: 0644]
tests/qapi-schema/bad-if-not.out [new file with mode: 0644]
tests/qapi-schema/meson.build