diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-27 16:23:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-12-11 17:52:05 +0000 |
| commit | e1c3bdc6f2658e5c0f3bf128000f3dc1dc7f88bb (patch) | |
| tree | e29ea299a561414ebfdadadc91ff421e7b55a4af /meson.build | |
| parent | changelog: 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.build | 1 |
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( { |
