blob: 84abb7974c13481028697dd7c66c772a24746f74 [file] [log] [blame]
gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
gmock = dependency('gmock', disabler: true, required: build_tests)
tests = [
'chip',
'event',
'handle',
'internal/fd',
'mocks',
'utility/aspeed',
]
foreach t : tests
test(t, executable(t.underscorify(), t + '.cpp',
include_directories: includes,
implicit_include_directories: false,
link_with: gpioplus,
dependencies: [gtest, gmock]))
endforeach