From 35779c6675728fa6f0fd0a21cefb904408509c23 Mon Sep 17 00:00:00 2001 From: Sebastien Bacher Date: Mon, 5 Jul 2021 20:35:03 +0200 Subject: New upstream version 1.32.2 --- src/libnm-client-impl/tests/meson.build | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/libnm-client-impl/tests/meson.build (limited to 'src/libnm-client-impl/tests/meson.build') diff --git a/src/libnm-client-impl/tests/meson.build b/src/libnm-client-impl/tests/meson.build new file mode 100644 index 00000000..3f2e78a7 --- /dev/null +++ b/src/libnm-client-impl/tests/meson.build @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +test_units = [ + 'test-libnm', + 'test-nm-client', + 'test-remote-settings-client', + 'test-secret-agent', +] + +foreach test_unit: test_units + exe = executable( + test_unit, + [ test_unit + '.c' ] + (test_unit == 'test-libnm' ? src_contrib_nm_compat_source : []), + include_directories: [ + libnm_client_public_inc, + ], + dependencies: [ + libnm_core_public_dep, + libnm_client_public_dep, + glib_dep, + libudev_dep, + ], + link_with: [ + libnm_client_impl, + libnm_client_test, + libnm_core_aux_intern, + libnm_core_impl, + libnm_crypto, + libnm_base, + libnm_udev_aux, + libnm_systemd_shared, + libnm_log_null, + libnm_glib_aux, + libnm_std_aux, + libc_siphash, + libnmdbus, + ], + ) + + test( + 'src/libnm-client-impl/tests/' + test_unit, + test_script, + timeout: 90, + args: test_args + [exe.full_path()], + ) +endforeach -- cgit 1.3.0-6-gf8a5