mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 11:01:19 +00:00
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>
19 lines
463 B
Meson
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
|