# 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
