summaryrefslogtreecommitdiff
path: root/tests/schemas/meson.build
blob: 851355d4e911265486d624b5e3dd9f1a5f83ae2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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