NetworkManager/src/libnm-client-test
Yi Zhao 5c3d538d6d
build/meson: add dependency libnm_client_public_dep for "libnm-client-test"
Fix parallel build error:
| In file included from ../NetworkManager-1.36.0/src/libnm-client-test/nm-test-utils-impl.c:10:
| ../NetworkManager-1.36.0/src/libnm-client-public/NetworkManager.h:47:10: fatal error: nm-enum-types.h: No such file or directory
|    47 | #include "nm-enum-types.h"
|       |          ^~~~~~~~~~~~~~~~~

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>

Fixes: a03a03fbe9 ('libnm/tests: add static helper library "src/libnm-client-test/"')

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1206
(cherry picked from commit 53952446a7)
2022-05-04 09:07:46 +02:00
..
meson.build build/meson: add dependency libnm_client_public_dep for "libnm-client-test" 2022-05-04 09:07:46 +02:00
nm-test-libnm-utils.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-test-utils-impl.c all: suppress wrong gcc-12 warning "-Wdangling-pointer" 2022-02-21 19:50:52 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

libnm-client-test

A static helper library that is used by unit tests on top of libnm. Mostly it's D-Bus helpers.

It has no purpose in non-test code.

Unit tests may not dynamically link with libnm. They may also statically link with the relevant parts of libnm, and still be able to use this helper.