[libvirt] [PATCH 03/11] test: xml2xml: Print full filenames if xml2xml test fails

Jiri Denemark jdenemar at redhat.com
Thu Nov 20 17:03:42 UTC 2014


On Wed, Nov 19, 2014 at 11:23:16 +0100, Peter Krempa wrote:
> To simplify looking for a problem instrument the XML comparator function
> with possibility to print the filename of the failed/expected XML
> output.
> 
> This is necessary as the VIR_TEST_DIFFERENT macro possibly tests two XML
> files for the inactive/active state and the resulting error may not be
> obvious.
> ---
>  tests/qemuxml2xmltest.c |  2 +-
>  tests/testutils.c       | 35 ++++++++++++++++++++++++++++++-----
>  tests/testutils.h       |  5 +++++
>  3 files changed, 36 insertions(+), 6 deletions(-)

ACK

Jirka




More information about the libvir-list mailing list