Re: [libvirt] [PATCHv2 07/14] virjsontest: introduce DO_TEST_PARSE_FILE

2019-04-03 Thread Peter Krempa
On Tue, Apr 02, 2019 at 17:41:46 +0200, Ján Tomko wrote: > Introduce a new macro DO_TEST_PARSE_FILE which takes the input JSON > from a file instead of a C string. > > This lets us get rid of quote escaping and makes the JSON easier to > edit. > > The output JSON is still taken from a string and

[libvirt] [PATCHv2 07/14] virjsontest: introduce DO_TEST_PARSE_FILE

2019-04-02 Thread Ján Tomko
Introduce a new macro DO_TEST_PARSE_FILE which takes the input JSON from a file instead of a C string. This lets us get rid of quote escaping and makes the JSON easier to edit. The output JSON is still taken from a string and will be moved separately. Signed-off-by: Ján Tomko ---