test: add a test binary for foot, using the ‘check’ test framework

This commit is contained in:
Daniel Eklöf 2021-11-21 19:49:20 +01:00
parent fd26fadc2c
commit 30709b0968
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 76 additions and 0 deletions

View file

@ -84,6 +84,7 @@ wayland_cursor = dependency('wayland-cursor')
xkb = dependency('xkbcommon', version: '>=1.0.0')
fontconfig = dependency('fontconfig')
utf8proc = dependency('libutf8proc', required: get_option('grapheme-clustering'))
check = dependency('check', required: false)
if utf8proc.found()
add_project_arguments('-DFOOT_GRAPHEME_CLUSTERING=1', language: 'c')