NetworkManager/src/core/tests/meson.build
Thomas Haller 0c4a65929c
glib-aux: use nm_utils_gettid() instead of gettid()
I missed that we already have a gettid() wrapper. Drop the duplicated
again and use nm_utils_gettid().

Fixes: e874c5bf6b ('random: Provide missing gettid() declaration')
2021-07-08 08:31:47 +02:00

58 lines
976 B
Meson

# SPDX-License-Identifier: LGPL-2.1-or-later
subdir('config')
test_units = [
'test-core',
'test-core-with-expect',
'test-dcb',
'test-ip4-config',
'test-ip6-config',
'test-l3cfg',
'test-utils',
'test-wired-defname',
]
foreach test_unit: test_units
exe = executable(
test_unit,
test_unit + '.c',
dependencies: libNetworkManagerTest_dep,
c_args: test_c_flags,
)
test(
test_unit,
test_script,
args: test_args + [exe.full_path()],
timeout: default_test_timeout,
)
endforeach
exe = executable(
'test-systemd',
'test-systemd.c',
include_directories: [
top_inc,
src_inc,
],
dependencies: [
libnm_systemd_shared_dep_inc,
libnm_systemd_core_dep_inc,
glib_dep,
],
link_with: [
libnm_systemd_shared,
libnm_systemd_core,
libnm_glib_aux,
libnm_log_null,
libnm_std_aux,
libc_siphash,
],
)
test(
'test-systemd',
test_script,
args: test_args + [exe.full_path()],
)