tests: split into separate binaries

This commit is contained in:
Austin Horstman
2024-06-08 22:30:01 -05:00
parent 87eaa75b8a
commit 58e7abba2c
8 changed files with 37 additions and 15 deletions

View File

@ -10,19 +10,10 @@ test_dep = [
test_src = files(
'main.cpp',
'JsonParser.cpp',
'SafeSignal.cpp',
'config.cpp',
'css_reload_helper.cpp',
'../src/config.cpp',
'../src/util/css_reload_helper.cpp',
)
if tz_dep.found()
test_dep += tz_dep
test_src += files('date.cpp')
endif
waybar_test = executable(
'waybar_test',
test_src,
@ -36,4 +27,5 @@ test(
workdir: meson.project_source_root(),
)
subdir('utils')
subdir('hyprland')