mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 01:29:52 +02:00
Replaced by full_path: https://mesonbuild.com/Reference-manual_returned_external_program.html#external_programpath ExternalProgram.full_path was added in meson 0.55 but we support meson >= 0.51. Because of that, use path or full_path conditionally depending on the meson version. This gets rid of the following deprecation warning: NOTICE: Future-deprecated features used: * 0.48.0: {'module python3'} * 0.55.0: {'ExternalProgram.path'}
35 lines
624 B
Meson
35 lines
624 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
test(
|
|
'check-local-tests-client',
|
|
find_program(join_paths(source_root, 'src/tests/client/test-client.sh')),
|
|
args: [
|
|
build_root,
|
|
source_root,
|
|
python_path,
|
|
'--',
|
|
'TestNmcli',
|
|
],
|
|
env: [
|
|
'LIBTOOL=',
|
|
],
|
|
timeout: 120,
|
|
)
|
|
|
|
if enable_nm_cloud_setup
|
|
test(
|
|
'check-local-tests-cloud-setup',
|
|
find_program(join_paths(source_root, 'src/tests/client/test-client.sh')),
|
|
args: [
|
|
build_root,
|
|
source_root,
|
|
python_path,
|
|
'--',
|
|
'TestNmCloudSetup',
|
|
],
|
|
env: [
|
|
'LIBTOOL=',
|
|
],
|
|
timeout: 120,
|
|
)
|
|
endif
|