summaryrefslogtreecommitdiff
path: root/dispatcher/tests/meson.build
blob: 32a670d7d8c649a7749952a623162603e0227185 (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
test_unit = 'test-dispatcher-envp'

incs = [
  dispatcher_inc,
  libnm_inc,
]

exe = executable(
  test_unit,
  test_unit + '.c',
  include_directories: incs,
  dependencies: libnm_core_dep,
  c_args: [
      '-DNETWORKMANAGER_COMPILATION_TEST',
      '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
    ] + introspection_extra_cflags,
  link_with: libnm_dispatcher_core,
)

test(
  'dispatcher/' + test_unit,
  test_script,
  args: test_args + [exe.full_path()],
)