diff options
| author | Michael Biebl <biebl@debian.org> | 2018-04-23 18:00:21 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-04-23 18:00:21 +0200 |
| commit | f60117b41d5433be1b4a96d82cd11d0c3dce9b63 (patch) | |
| tree | 2dd55c4ab0fdcbe9cddb26adb4a554b1a45c73c8 /libnm-glib/tests | |
| parent | 7e9ff09fcb2366b383b7ebbec80d2f6fff117290 (diff) | |
New upstream version 1.11.3 upstream/1.11.3
Diffstat (limited to 'libnm-glib/tests')
| -rw-r--r-- | libnm-glib/tests/meson.build | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libnm-glib/tests/meson.build b/libnm-glib/tests/meson.build new file mode 100644 index 00000000..029b3c20 --- /dev/null +++ b/libnm-glib/tests/meson.build @@ -0,0 +1,30 @@ +deps = [ + dbus_dep, + dbus_glib_dep, + libnm_glib_dep, + libnm_util_dep, + shared_dep +] + +test_units = [ + 'test-nm-client', + 'test-remote-settings-client' +] + +foreach test_unit: test_units + exe = executable( + test_unit, + [test_unit + '.c'] + shared_test_utils, + dependencies: deps, + c_args: common_cflags + [ + '-DNETWORKMANAGER_COMPILATION_TEST', + '-DTEST_NM_SERVICE="@0@"'.format(join_paths(meson.source_root(), 'tools', 'test-networkmanager-service.py')), + ], + ) + + test( + 'libnm-glib/' + test_unit, + test_script, + args: test_args + [exe.full_path()] + ) +endforeach |