aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-27 16:23:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-11 17:52:05 +0000
commite1c3bdc6f2658e5c0f3bf128000f3dc1dc7f88bb (patch)
treee29ea299a561414ebfdadadc91ff421e7b55a4af /meson.build
parentchangelog: kitty kbd: add link to codeberg issue (diff)
test: initial external unit test suite for ‘config.c’
This patch adds a separate (external) test binary with unit tests for config.c This is achieved by having the test’s source file include config.c (yes, the C file, not the header file). This allows us to call e.g. parse_section_*() directly, without having to go through config_load() (which requires having a readable file at “path”).
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 9faaf44b..39237a33 100644
--- a/meson.build
+++ b/meson.build
@@ -272,6 +272,7 @@ endif
subdir('completions')
subdir('icons')
+subdir('tests')
summary(
{