blob: 4218665711165860fc2979ca3b7c57ba6f60de6a [file] [log] [blame]
William A. Kennington IIIb9337712019-01-15 18:27:13 -08001gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3
4tests = [
5 'watchdog',
6]
7
8foreach t : tests
9 test(t, executable(t.underscorify(), t + '.cpp',
10 implicit_include_directories: false,
11 link_with: libwatchdog,
12 dependencies: [gtest, gmock]))
13endforeach