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

test_ibft_dir = meson.current_source_dir()

cflags = [
  '-DTEST_IBFT_DIR="@0@"'.format(test_ibft_dir),
  '-DTEST_SCRATCH_DIR="@0@"'.format(test_ibft_dir)
]

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

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