mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 22:52:30 +02:00
test: add tests for waybar_time formatter
This commit is contained in:
@ -6,13 +6,21 @@ test_dep = [
|
||||
jsoncpp,
|
||||
spdlog,
|
||||
]
|
||||
|
||||
waybar_test = executable(
|
||||
'waybar_test',
|
||||
test_src = files(
|
||||
'main.cpp',
|
||||
'SafeSignal.cpp',
|
||||
'config.cpp',
|
||||
'../src/config.cpp',
|
||||
)
|
||||
|
||||
if tz_dep.found()
|
||||
test_dep += tz_dep
|
||||
test_src += files('waybar_time.cpp')
|
||||
endif
|
||||
|
||||
waybar_test = executable(
|
||||
'waybar_test',
|
||||
test_src,
|
||||
dependencies: test_dep,
|
||||
include_directories: test_inc,
|
||||
)
|
||||
|
Reference in New Issue
Block a user