2017-11-25 11:39:06 +01:00
|
|
|
test_unit = 'test-general'
|
|
|
|
|
|
2018-01-07 15:39:42 +01:00
|
|
|
deps = [
|
|
|
|
|
libnm_dep,
|
2017-11-25 11:39:06 +01:00
|
|
|
libnmc_dep,
|
2018-01-07 15:39:42 +01:00
|
|
|
libnmc_base_dep,
|
|
|
|
|
nm_core_dep
|
2017-11-25 11:39:06 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
exe = executable(
|
2017-12-14 17:03:34 +01:00
|
|
|
'clients-' + test_unit,
|
2017-11-25 11:39:06 +01:00
|
|
|
test_unit + '.c',
|
|
|
|
|
dependencies: deps,
|
2018-01-02 13:37:06 +01:00
|
|
|
c_args: clients_cflags + [
|
|
|
|
|
'-DNETWORKMANAGER_COMPILATION_TEST',
|
|
|
|
|
],
|
2017-11-25 11:39:06 +01:00
|
|
|
)
|
|
|
|
|
|
2018-04-11 10:49:33 +02:00
|
|
|
test(
|
2018-04-11 14:47:07 +02:00
|
|
|
'clients/' + test_unit,
|
2018-04-11 10:49:33 +02:00
|
|
|
test_script,
|
|
|
|
|
args: test_args + [exe.full_path()]
|
|
|
|
|
)
|