]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test: xml2xml: Print full filenames if xml2xml test fails
authorPeter Krempa <pkrempa@redhat.com>
Wed, 29 Oct 2014 14:53:36 +0000 (15:53 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 21 Nov 2014 10:00:10 +0000 (11:00 +0100)
commitc5942a9faad4e76588bd1fa05133b208b981c277
tree426ca79c68c6519df12b9e2ca42660a8ee077b75
parentdf44e3ee80871012891dccbae322edf4ff08248a
test: xml2xml: Print full filenames if xml2xml test fails

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
tests/testutils.c
tests/testutils.h