Re: [Qemu-devel] [PATCH 2/3] tests: add oob-test for qapi-schema

2018-03-21 Thread Peter Xu
On Wed, Mar 21, 2018 at 07:52:06AM -0500, Eric Blake wrote: > On 03/21/2018 01:55 AM, Peter Xu wrote: > > It simply tests the new OOB capability, and make sure the QAPISchema can > > parse it correctly. > > We also want negative tests that cover any new error messages in the qapi > generator (such

Re: [Qemu-devel] [PATCH 2/3] tests: add oob-test for qapi-schema

2018-03-21 Thread Eric Blake
On 03/21/2018 01:55 AM, Peter Xu wrote: It simply tests the new OOB capability, and make sure the QAPISchema can parse it correctly. We also want negative tests that cover any new error messages in the qapi generator (such as 'allow-oob':'bad' diagnosing a non-bool, or 'allow-oob':false givin

[Qemu-devel] [PATCH 2/3] tests: add oob-test for qapi-schema

2018-03-20 Thread Peter Xu
It simply tests the new OOB capability, and make sure the QAPISchema can parse it correctly. Signed-off-by: Peter Xu --- tests/Makefile.include | 1 + tests/qapi-schema/oob-test.err | 0 tests/qapi-schema/oob-test.exit | 1 + tests/qapi-schema/oob-test.json | 2 ++ tests/qapi-schema/oo