Move the tests to catch2 so I can get tap output for the game.

This commit is contained in:
Zed A. Shaw 2024-08-10 06:59:28 -04:00
parent 1fb99618bf
commit 52b59d38ad
5 changed files with 16 additions and 16 deletions

View file

@ -20,7 +20,7 @@ fmt = dependency('fmt')
ftxui_screen = dependency('ftxui-screen')
ftxui_dom = dependency('ftxui-dom')
ftxui_component = dependency('ftxui-component')
doctest = dependency('doctest')
catch2 = dependency('catch2-with-main')
dependencies = [
fmt, libgit2package_dep, efsw_dep,
@ -43,8 +43,7 @@ executable('ftx_thread_test', 'ftx_thread_test.cpp',
runtests = executable('runtests', [
'game_engine.cpp',
'tests/test1.cpp',
'tests/game_engine.cpp'],
dependencies: dependencies + [doctest])
dependencies: dependencies + [catch2])
test('the tests', runtests)