summaryrefslogtreecommitdiff
path: root/src/test/meson.build
blob: c0174ad85683397b8d524abdf63bfc1e01242edc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
test_driver_sources = [
  'test_driver.c',
]

test_driver_assets = [
  'test-screenshot.png',
]

if conf.has('WITH_TEST')
  test_lib = static_library(
    'virt_test',
    [
      test_driver_sources,
    ],
    dependencies: [
      src_dep,
    ],
    include_directories: [
      conf_inc_dir,
      hypervisor_inc_dir,
    ],
  )

  libvirt_libs += test_lib

  install_data(test_driver_assets, install_dir: pkgdatadir)
endif