about summary refs log tree commit diff
path: root/clients/common/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'clients/common/tests/meson.build')
-rw-r--r--clients/common/tests/meson.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/clients/common/tests/meson.build b/clients/common/tests/meson.build
new file mode 100644
index 00000000..cc357cdc
--- /dev/null
+++ b/clients/common/tests/meson.build
@@ -0,0 +1,23 @@
+test_unit = 'test-general'
+
+deps = [
+  libnm_dep,
+  libnmc_dep,
+  libnmc_base_dep,
+  nm_core_dep
+]
+
+exe = executable(
+  'clients-' + test_unit,
+  test_unit + '.c',
+  dependencies: deps,
+  c_args: clients_cflags + [
+    '-DNETWORKMANAGER_COMPILATION_TEST',
+  ],
+)
+
+test(
+  'clients/' + test_unit,
+  test_script,
+  args: test_args + [exe.full_path()]
+)