about summary refs log tree commit diff
path: root/dispatcher/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'dispatcher/tests/meson.build')
-rw-r--r--dispatcher/tests/meson.build18
1 files changed, 9 insertions, 9 deletions
diff --git a/dispatcher/tests/meson.build b/dispatcher/tests/meson.build
index 53108e79..84b4b61c 100644
--- a/dispatcher/tests/meson.build
+++ b/dispatcher/tests/meson.build
@@ -1,24 +1,24 @@
-# SPDX-License-Identifier: LGPL-2.1+
-
-test_unit = 'test-dispatcher-envp'
+# SPDX-License-Identifier: LGPL-2.1-or-later
 
 exe = executable(
-  test_unit,
-  [test_unit + '.c', nmdbus_dispatcher_sources],
+  'test-dispatcher-envp',
+  [
+    'test-dispatcher-envp.c',
+    nmdbus_dispatcher_sources,
+  ],
   include_directories: dispatcher_inc,
   dependencies: [
     libnm_nm_default_dep,
-    libnm_utils_base_dep,
+    libnm_glib_aux_dep,
   ],
   c_args: [
-    '-DNETWORKMANAGER_COMPILATION_TEST',
-    '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
+    '-DG_LOG_DOMAIN="test"',
   ] + introspection_extra_cflags,
   link_with: libnm_dispatcher_core,
 )
 
 test(
-  'dispatcher/' + test_unit,
+  'dispatcher/test-dispatcher-envp',
   test_script,
   args: test_args + [exe.full_path()],
 )