]> xenbits.xensource.com Git - libvirt.git/commit
virschematest: Construct path to the schema in the SCHEMAS_PATH
authorPeter Krempa <pkrempa@redhat.com>
Thu, 20 Oct 2022 08:30:00 +0000 (10:30 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 2 Nov 2022 08:26:03 +0000 (09:26 +0100)
commitcc2cdb3324d16df30477e9b75956672be6549a5e
tree9e9ed332b7294f14ecb9df7c9996c7660b7439a6
parent868ffe3b90ea6b9be072b64fbb0417feab4d831c
virschematest: Construct path to the schema in the SCHEMAS_PATH

'abs_top_srcdir' can be prepended to the schema in the macro. Apart from
removing one needless string copy it will also allow pointing to schema
files in the builddir which will come handy in upcoming patches.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/virschematest.c