summary refs log tree commit diff
path: root/dispatcher/tests
diff options
context:
space:
mode:
Diffstat (limited to 'dispatcher/tests')
-rw-r--r--dispatcher/tests/meson.build27
-rw-r--r--dispatcher/tests/test-dispatcher-envp.c1
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"