summaryrefslogtreecommitdiff
path: root/src/settings/plugins/ifcfg-rh/tests/meson.build
blob: 3be38bd3c6f6e36cf427e0b7d706eb0e161ca2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
test_unit = 'test-ifcfg-rh'

test_ifcfg_dir = meson.current_source_dir()

cflags = [
  '-DTEST_IFCFG_DIR="@0@"'.format(test_ifcfg_dir),
  '-DTEST_SCRATCH_DIR="@0@"'.format(test_ifcfg_dir)
]

exe = executable(
  test_unit,
  test_unit + '.c',
  dependencies: test_nm_dep,
  c_args: cflags,
  link_with: libnms_ifcfg_rh_core
)

test(test_unit, exe)