blob: 84abb7974c13481028697dd7c66c772a24746f74 [file] [log] [blame]
William A. Kennington III15658972019-03-27 19:44:36 -07001gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3
4tests = [
5 'chip',
6 'event',
7 'handle',
8 'internal/fd',
9 'mocks',
10 'utility/aspeed',
11]
12
13foreach t : tests
14 test(t, executable(t.underscorify(), t + '.cpp',
15 include_directories: includes,
16 implicit_include_directories: false,
17 link_with: gpioplus,
18 dependencies: [gtest, gmock]))
19endforeach