summaryrefslogtreecommitdiff
path: root/src/dhcp/tests/meson.build
blob: 533cde5eaa1f23106923d2deb09577aea8260b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
test_units = [
  'test-dhcp-dhclient',
  'test-dhcp-utils'
]

foreach test_unit: test_units
  exe = executable(
    test_unit,
    test_unit + '.c',
    dependencies: test_nm_dep,
    c_args: '-DTESTDIR="@0@"'.format(meson.current_source_dir())
  )

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