diff options
| author | Michael Biebl <biebl@debian.org> | 2018-05-11 22:08:45 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-05-11 22:08:45 +0200 |
| commit | ee9c73a923909e23a649407be77e25235d769e25 (patch) | |
| tree | e21c923621fa278e737da693df9eb60ea31a6067 /dispatcher/tests | |
| parent | f60117b41d5433be1b4a96d82cd11d0c3dce9b63 (diff) | |
New upstream version 1.10.8 upstream/1.10.8
Diffstat (limited to 'dispatcher/tests')
| -rw-r--r-- | dispatcher/tests/meson.build | 27 | ||||
| -rw-r--r-- | dispatcher/tests/test-dispatcher-envp.c | 1 |
2 files changed, 1 insertions, 27 deletions
diff --git a/dispatcher/tests/meson.build b/dispatcher/tests/meson.build deleted file mode 100644 index 1368a1f3..00000000 --- a/dispatcher/tests/meson.build +++ /dev/null @@ -1,27 +0,0 @@ -test_unit = 'test-dispatcher-envp' - -incs = [ - dispatcher_inc, - libnm_inc -] - -cflags = [ - '-DNETWORKMANAGER_COMPILATION_TEST', - '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT', - '-DSRCDIR="@0@"'.format(meson.current_source_dir()), -] - -exe = executable( - test_unit, - test_unit + '.c', - include_directories: incs, - dependencies: nm_core_dep, - c_args: cflags, - link_with: libnm_dispatcher_core -) - -test( - 'dispatcher/' + test_unit, - test_script, - args: test_args + [exe.full_path()] -) diff --git a/dispatcher/tests/test-dispatcher-envp.c b/dispatcher/tests/test-dispatcher-envp.c index 25cd5e60..6dd4db07 100644 --- a/dispatcher/tests/test-dispatcher-envp.c +++ b/dispatcher/tests/test-dispatcher-envp.c @@ -24,6 +24,7 @@ #include <stdlib.h> #include <string.h> +#include "nm-core-internal.h" #include "nm-dispatcher-utils.h" #include "nm-dispatcher-api.h" |