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

cflags = '-DTEST_ENI_DIR="@0@"'.format(meson.current_source_dir())

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

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