build/meson: cleanup tests

This commit is contained in:
Thomas Haller 2021-02-24 20:23:44 +01:00
parent 992402adfb
commit 452ba8408c
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
5 changed files with 13 additions and 11 deletions

View file

@ -5,7 +5,7 @@ static_library(
'nm-vpn-plugin-utils-test',
sources: nm_vpn_plugin_utils_source,
dependencies: [
libnm_client_public_dep,
libnm_dep,
glib_dep,
],
)

View file

@ -38,7 +38,7 @@ foreach test_unit: test_units
)
test(
test_unit,
'src/libnm-client-impl/tests/' + test_unit,
test_script,
timeout: 90,
args: test_args + [exe.full_path()],

View file

@ -41,7 +41,7 @@ foreach test_unit: test_units
)
test(
'libnm-core/' + test_unit,
'src/libnm-core-impl/tests/' + test_unit,
test_script,
args: test_args + [exe.full_path()],
timeout: default_test_timeout,

View file

@ -3,11 +3,13 @@
exe = executable(
'test-shared-general',
'test-shared-general.c',
dependencies: glib_dep,
include_directories: [
src_inc,
top_inc,
],
dependencies: [
glib_dep,
],
link_with: [
libnm_log_null,
libnm_glib_aux,
@ -17,7 +19,7 @@ exe = executable(
)
test(
'shared/nm-glib-aux/test-shared-general',
'src/libnm-glib-aux/tests/test-shared-general',
test_script,
args: test_args + [exe.full_path()],
timeout: default_test_timeout,
@ -45,7 +47,7 @@ if jansson_dep.found()
)
test(
'shared/nm-glib-aux/test-json-aux',
'src/libnm-glib-aux/tests/test-json-aux',
test_script,
args: test_args + [exe.full_path()],
timeout: default_test_timeout,

View file

@ -3,14 +3,14 @@
exe = executable(
'test-nm-platform',
'test-nm-platform.c',
dependencies: [
glib_dep,
libudev_dep,
],
include_directories: [
src_inc,
top_inc,
],
dependencies: [
glib_dep,
libudev_dep,
],
link_with: [
libnm_platform,
libnm_base,
@ -23,7 +23,7 @@ exe = executable(
)
test(
'shared/nm-glib-aux/test-nm-platform',
'src/libnm-platform/tests/test-nm-platform',
test_script,
args: test_args + [exe.full_path()],
timeout: default_test_timeout,