build/meson: drop special timeout for libnm test

A timeout for tests should not be reached anyway. It's only
a fail-safe for not running indefinitely (and for meson not killing
the test too early). We don't need to run test-libnm with a shorter
timeout.
This commit is contained in:
Thomas Haller 2021-01-27 21:32:28 +01:00
parent 5d85d7c849
commit 3abae51080
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -1,16 +1,20 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
test_units = [
['test-libnm', 30],
['test-nm-client', 90],
['test-remote-settings-client', 90],
['test-secret-agent', 90],
'test-libnm',
'test-nm-client',
'test-remote-settings-client',
'test-secret-agent',
]
foreach test_unit: test_units
exe = executable(
test_unit[0],
[test_unit[0] + '.c', nm_test_utils_impl_source, libnm_enum_sources[1]],
test_unit,
[
test_unit + '.c',
nm_test_utils_impl_source,
libnm_enum_sources[1],
],
dependencies: [
libnm_core_dep,
libnm_nm_default_dep,
@ -23,9 +27,9 @@ foreach test_unit: test_units
)
test(
test_unit[0],
test_unit,
test_script,
timeout: test_unit[1],
timeout: 90,
args: test_args + [exe.full_path()],
)
endforeach