mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-30 11:10:23 -04:00
test: add a test binary for foot, using the ‘check’ test framework
This commit is contained in:
parent
fd26fadc2c
commit
30709b0968
3 changed files with 76 additions and 0 deletions
|
|
@ -6,3 +6,17 @@ config_test = executable(
|
|||
dependencies: [pixman, xkb, fontconfig, fcft, tllist])
|
||||
|
||||
test('config', config_test)
|
||||
|
||||
if check.found()
|
||||
foot_test = executable(
|
||||
'test-foot',
|
||||
'test-foot.c',
|
||||
'../config.c', '../config.h',
|
||||
'../tokenize.c', '../tokenize.h',
|
||||
'../user-notification.c', '../user-notification.h',
|
||||
wl_proto_headers,
|
||||
dependencies: [check, pixman, xkb, fcft],
|
||||
link_with: [common]
|
||||
)
|
||||
test('foot', foot_test)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue