]> xenbits.xensource.com Git - libvirt.git/commit
tests: schema: Add possibility to validate individual files
authorPeter Krempa <pkrempa@redhat.com>
Tue, 28 Mar 2017 11:28:02 +0000 (13:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 3 Apr 2017 06:42:09 +0000 (08:42 +0200)
commite19505daa6886f86891fd521f1cc6c105d5d20a8
tree7a2f8ea096a953c07523f96312cd9606d63f02a8
parent462c4b66fa70a93a548c4ad4a1103ac9a32b9faf
tests: schema: Add possibility to validate individual files

Sometimes it may be desired to validate individual files against a
schema. Refactor the data structures to unify them and introduce a new
macro DO_TEST_FILE(schema, xmlfile) which will test the XML file against
the given schema file.
tests/virschematest.c