summary refs log tree commit diff
path: root/clients/common/tests/meson.build
blob: 28b27ae9e0117debdc8541ed416d00423df8d619 (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
# SPDX-License-Identifier: LGPL-2.1-or-later

exe = executable(
  'test-clients-common',
  'test-clients-common.c',
  dependencies: [
    libnmc_base_dep,
    libnmc_dep,
  ],
  c_args: [
    '-DG_LOG_DOMAIN="test"',
  ],
)

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

exe = executable(
  'test-libnm-core-aux',
  'test-libnm-core-aux.c',
  dependencies: [
    libnm_dep,
    libnm_libnm_core_aux_dep,
    libnm_nm_default_dep,
  ],
  c_args: [
    '-DG_LOG_DOMAIN="test"',
  ],
  link_with: libnm_systemd_logging_stub,
)

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