A quick and dirty test with doctest. Should be good enough.

This commit is contained in:
Zed A. Shaw 2024-08-09 12:47:44 -04:00
parent 4365bfa98d
commit fb5bf9d733
2 changed files with 16 additions and 0 deletions

View file

@ -20,6 +20,7 @@ fmt = dependency('fmt')
ftxui_screen = dependency('ftxui-screen')
ftxui_dom = dependency('ftxui-dom')
ftxui_component = dependency('ftxui-component')
doctest = dependency('doctest')
dependencies = [
fmt, libgit2package_dep, efsw_dep,
@ -38,3 +39,7 @@ executable('ftxtest', 'ftxtest.cpp',
executable('ftx_thread_test', 'ftx_thread_test.cpp',
dependencies: dependencies)
executable('tests', [
'tests/test1.cpp'],
dependencies: dependencies + [doctest])