summaryrefslogtreecommitdiff
path: root/test/meson.build
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-10-18 19:33:47 +0100
committerPhil Jones <philj56@gmail.com>2022-10-18 19:53:06 +0100
commit340692299ed834f962b83b1bc0eb6f49471ca556 (patch)
treef0a1c9160397b22a662e6399e085336de3396a73 /test/meson.build
parent5482f0be746a98bdd6b2c54183b54dd2ff2a0192 (diff)
Add beginnings of test framework.
Just contains a couple of very simple UTF-8 tests for now.
Diffstat (limited to 'test/meson.build')
-rw-r--r--test/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
new file mode 100644
index 0000000..49f6870
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,15 @@
+tests = [
+ 'utf8'
+]
+
+foreach test_file : tests
+ t = executable(
+ test_file,
+ files(test_file + '.c', 'tap.c'), common_sources, wl_proto_src, wl_proto_headers,
+ include_directories: ['../src'],
+ dependencies: [librt, libm, freetype, harfbuzz, cairo, pangocairo, wayland_client, xkbcommon, glib, gio_unix],
+ install: false
+ )
+
+ test(test_file, t, protocol: 'tap')
+endforeach