blob: 4218665711165860fc2979ca3b7c57ba6f60de6a [file] [log] [blame]
gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
gmock = dependency('gmock', disabler: true, required: build_tests)
tests = [
'watchdog',
]
foreach t : tests
test(t, executable(t.underscorify(), t + '.cpp',
implicit_include_directories: false,
link_with: libwatchdog,
dependencies: [gtest, gmock]))
endforeach