libvirt/tests/schemas/meson.build
Peter Krempa 8daa94cd8e virschematest: Add infrastructure for testing single devices
Introduce an internal schema for a single device and use it to test the
various files in tests/qemuhotplugtestdevices and
tests/qemublocktestdata directories.

This also requires us to implement schema for (some) privateData bits
for the disk source.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-11-03 09:19:54 +01:00

19 lines
463 B
Meson

# we need to replace proper paths to our schemas in the test schemas
virschematest_test_schemas_conf = configuration_data({
'SCHEMADIR': meson.project_source_root() / 'src' / 'conf' / 'schemas',
})
virschematest_schemas = [
'cpu-baseline.rng.in',
'device.rng.in',
'privatedata.rng.in',
]
foreach file : virschematest_schemas
configure_file(
input: file,
output: '@BASENAME@',
configuration: virschematest_test_schemas_conf,
)
endforeach