summary refs log tree commit diff
path: root/shared/nm-platform/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'shared/nm-platform/tests/meson.build')
-rw-r--r--shared/nm-platform/tests/meson.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/shared/nm-platform/tests/meson.build b/shared/nm-platform/tests/meson.build
new file mode 100644
index 00000000..a8fcdbca
--- /dev/null
+++ b/shared/nm-platform/tests/meson.build
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+exe = executable(
+  'test-nm-platform',
+  'test-nm-platform.c',
+  c_args: [
+    '-DG_LOG_DOMAIN="test"',
+  ],
+  dependencies: [
+    libnm_log_core_dep,
+    libnm_platform_dep,
+  ],
+)
+
+test(
+  'shared/nm-glib-aux/test-nm-platform',
+  test_script,
+  args: test_args + [exe.full_path()],
+  timeout: default_test_timeout,
+)