summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2022-06-13 22:58:52 +0200
committerCorentin Noël <tintou@noel.tf>2022-06-14 09:11:32 +0200
commit2c5abff1398b5457d76c8b2f4dd8801a05701217 (patch)
tree35726c5fddb8804e5cd49e24976e49d2ef8295f4 /test
parent54da436258d79b683f57dfadf787bdf56ca58576 (diff)
downloadlibgnomekbd-2c5abff1398b5457d76c8b2f4dd8801a05701217.tar.gz
Add meson build system
Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
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