blob: 0e4faf0537c0efc6fb50ff096edd89c0615778fc [file] [log] [blame]
gtest = dependency('gtest', main: true, disabler: true, required: get_option('tests'))
gmock = dependency('gmock', disabler: true, required: get_option('tests'))
tests = [
'watchdog',
]
foreach t : tests
test(
t,
executable(
t.underscorify(),
t + '.cpp',
implicit_include_directories: false,
dependencies: [watchdog_dep, gtest, gmock]))
endforeach