about summary refs log tree commit diff
path: root/clients/common/tests/meson.build
blob: 624dd89cd7139e4d81eb173256f4bb18b79c9cfa (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
test_name = 'test-clients-common'

exe = executable(
  test_name,
  test_name + '.c',
  dependencies: [
    libnm_dep,
    libnmc_dep,
    libnmc_base_dep,
    libnm_core_dep,
  ],
  c_args: clients_cflags + [
    '-DNETWORKMANAGER_COMPILATION_TEST',
  ],
)

test(
  test_name,
  test_script,
  args: test_args + [exe.full_path()],
)

###############################################################################

exe = executable(
    'test-libnm-core-aux',
    [ 'test-libnm-core-aux.c', ],
    c_args: [
        '-DNETWORKMANAGER_COMPILATION_TEST',
        '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
    ],
    dependencies: [
        libnm_dep,
        shared_nm_libnm_core_aux_dep,
        shared_nm_libnm_core_intern_dep,
    ],
)

test(
    'clients/common/tests/test-libnm-core-aux',
    test_script,
    args: test_args + [exe.full_path()]
)