summaryrefslogtreecommitdiff
path: root/test/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test/meson.build')
-rw-r--r--test/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
new file mode 100644
index 0000000..f207073
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,17 @@
+test_names = [
+ 'matekbd-indicator-test',
+ 'matekbd-keyboard-drawing-test',
+ 'matekbd-status-test',
+]
+
+foreach test_name : test_names
+ test_exec = executable(
+ test_name,
+ test_name + '.c',
+ dependencies: libmatekbdui_dep,
+ c_args: [
+ '-DGNOMELOCALEDIR="@0@"'.format (get_option('prefix') / get_option('datadir') / 'locale'),
+ ],
+ build_by_default: true,
+ )
+endforeach