summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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..179c1cf
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,17 @@
+test_names = [
+ 'gkbd-indicator-test',
+ 'gkbd-keyboard-drawing-test',
+ 'gkbd-status-test',
+]
+
+foreach test_name : test_names
+ test_exec = executable(
+ test_name,
+ test_name + '.c',
+ dependencies: libgnomekbdui_dep,
+ c_args: [
+ '-DGNOMELOCALEDIR="@0@"'.format (get_option('prefix') / get_option('datadir') / 'locale'),
+ ],
+ build_by_default: true,
+ )
+endforeach