mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 23:30:18 +01:00
test: include "nm-keyfile-internal.h" for tests under src/
Including "nm-keyfile-internal.h" before "nm-test-utils.h" enables a few useful utilities. If we know that our test uses NetworkManagerUtils.h, we can always include it -- as we have libnm-core available.
This commit is contained in:
parent
89c6abc7ab
commit
e0d103b1a2
1 changed files with 3 additions and 1 deletions
|
|
@ -97,8 +97,10 @@
|
|||
#include "gsystem-local-alloc.h"
|
||||
|
||||
#ifdef __NETWORKMANAGER_LOGGING_H__
|
||||
/* We are running tests under src/ */
|
||||
/* We are running tests under src/. Let's include some files by default.
|
||||
* They are useful, and affect how nm-test-utils.h itself behaves. */
|
||||
#include "NetworkManagerUtils.h"
|
||||
#include "nm-keyfile-internal.h"
|
||||
#endif
|
||||
|
||||
/* Analog to EXIT_SUCCESS and EXIT_FAILURE. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue