2021-08-14 03:33:24 +02:00
|
|
|
test_inc = include_directories('../include')
|
|
|
|
test_dep = [
|
|
|
|
catch2,
|
|
|
|
fmt,
|
2020-12-29 02:28:03 +01:00
|
|
|
gtkmm,
|
2021-08-14 03:33:24 +02:00
|
|
|
jsoncpp,
|
|
|
|
spdlog,
|
|
|
|
]
|
|
|
|
|
|
|
|
config_test = executable(
|
|
|
|
'config_test',
|
|
|
|
'config.cpp',
|
|
|
|
'../src/config.cpp',
|
|
|
|
dependencies: test_dep,
|
|
|
|
include_directories: test_inc,
|
|
|
|
)
|
|
|
|
|
2020-12-29 02:28:03 +01:00
|
|
|
safesignal_test = executable(
|
|
|
|
'safesignal_test',
|
|
|
|
'SafeSignal.cpp',
|
|
|
|
dependencies: test_dep,
|
|
|
|
include_directories: test_inc,
|
|
|
|
)
|
|
|
|
|
2021-08-14 03:33:24 +02:00
|
|
|
test(
|
|
|
|
'Configuration test',
|
|
|
|
config_test,
|
|
|
|
workdir: meson.source_root(),
|
|
|
|
)
|
2020-12-29 02:28:03 +01:00
|
|
|
|
|
|
|
test(
|
|
|
|
'SafeSignal test',
|
|
|
|
safesignal_test,
|
|
|
|
workdir: meson.source_root(),
|
|
|
|
)
|