Re: [Qemu-devel] [PATCH v4 11/28] tests: Factor out common code in qapi output tests

2016-06-01 Thread Markus Armbruster
Eric Blake writes: > Create a new visitor_get() function to capture common > actions taken in collecting output from an output visitor, > to make it easier to refactor the output visitors in a > later patch. While making test improvements, also use > &error_abort and error_free_or_abort() in more

[Qemu-devel] [PATCH v4 11/28] tests: Factor out common code in qapi output tests

2016-05-18 Thread Eric Blake
Create a new visitor_get() function to capture common actions taken in collecting output from an output visitor, to make it easier to refactor the output visitors in a later patch. While making test improvements, also use &error_abort and error_free_or_abort() in more places, use the generated qapi