mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
8daa94cd8e
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
|